A userscript to open YouTube links in the YouPlay app on iOS.
Enhanced search engine integration so YouTube links on search result pages (Google, Bing, etc.) open directly in the YouPlay app without loading youtube.com first.
Safari extension to run user script (free): https://apps.apple.com/us/app/userscripts/id1463298887
Userscript code: Open In YouPlay Userscript
- Install the free open source app Userscripts
- Launch the app and choose path for scripts
- Enable userscripts on your iPhone in Settings > Safari > Extensions and allow access to sites
- On iPhone/iPad tap to see the code: Open In YouPlay Userscript
- Tap Aa in safari and Tap Userscripts
- Install the detected Userscript.
Open any YouTube link in Safari (either directly or from search results like Google, Bing, DuckDuckGo), and it will automatically redirect to the YouPlay app.
Works with:
- Standard videos (youtube.com/watch?v=...)
- Short links (youtu.be/...)
- Shorts (youtube.com/shorts/...)
- Channels (@username, /c/, /user/)
- Playlists
Based on Open-In-Youtube by xcfrg which was forked from Open-In-Apollo by AnthonyGress.