Stream to mpv by Talha Aksoy
Adds a "▶ mpv" button to web video players. Pick a resolution and the stream (HLS, MP4, YouTube) opens in the mpv player on your computer, or in mpv-android on your phone. Not a downloader. Desktop needs a small helper, see description.
Available on Firefox for Android™Available on Firefox for Android™
Scan the QR code to open this extension in Firefox for Android
Extension Metadata
Screenshots
About this extension
Stream to mpv adds a "▶ mpv" button to the controls of web video players. Click it, choose a resolution, and the video opens in mpv, the lightweight open-source media player. It is not a downloader: the stream plays live in mpv.
FEATURES
• Detects real video streams on the page: HLS (.m3u8), MP4, WebM and YouTube
• Resolution menu: 4K, 1440p, 1080p, 720p, 480p, 360p, Best, or Audio Only
• Sits next to the Settings / Fullscreen buttons on YouTube, JWPlayer, Video.js, Plyr, ArtPlayer and DPlayer, and shows a floating button on other players
• Works inside embedded players (iframes), including OK.ru, VK, Mail.ru, Sibnet and Dailymotion
• Passes the Referer and User-Agent headers that some video servers require (desktop only)
• Pauses the browser video when mpv opens
━━━━━━━━━━━━━━━━━━━━
BEFORE YOU START: DESKTOP (Linux & macOS)
━━━━━━━━━━━━━━━━━━━━
Firefox cannot start other programs directly, so a small helper script has to be installed once. Windows is not supported yet.
If the popup says the native host is not installed, run "make" again from the stream-to-mpv folder.
━━━━━━━━━━━━━━━━━━━━
BEFORE YOU START: ANDROID (Firefox for Android)
━━━━━━━━━━━━━━━━━━━━
1. Install mpv-android (package is.xyz.mpv) from Google Play, F-Droid or GitHub.
2. Install this add-on. No other setup is needed.
3. Tap "▶ mpv" on a video. If the app does not open, use "Share Stream to App…" in the same menu and pick mpv.
Android notes:
• YouTube, Mail.ru, Sibnet and Dailymotion play directly without yt-dlp.
• VK and OK.ru: in mpv-android, open Settings → Advanced → Edit mpv.conf once and add:
user-agent="Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
• mpv-android cannot receive Referer headers yet, so some embed sites that require them may not play on Android. They work on desktop.
━━━━━━━━━━━━━━━━━━━━
TIPS
━━━━━━━━━━━━━━━━━━━━
• Many embed players load the real stream only after you press Play. Press Play once, then click "▶ mpv".
• If the button does not appear, open Add-ons and themes → Stream to mpv → Permissions and allow access to all websites.
• DRM-protected services (Netflix, Disney+, Spotify, etc.) cannot be played in mpv. The add-on shows "Unsupported stream (DRM)" for them.
PRIVACY
No data collection, analytics or tracking. Stream URLs are passed only to mpv on your own device. Cookies are never stored or forwarded.
Privacy policy: https://github.com/TalhaAksoy/stream-to-mpv/blob/main/PRIVACY.md
Open source (MIT): https://github.com/TalhaAksoy/stream-to-mpv
FEATURES
• Detects real video streams on the page: HLS (.m3u8), MP4, WebM and YouTube
• Resolution menu: 4K, 1440p, 1080p, 720p, 480p, 360p, Best, or Audio Only
• Sits next to the Settings / Fullscreen buttons on YouTube, JWPlayer, Video.js, Plyr, ArtPlayer and DPlayer, and shows a floating button on other players
• Works inside embedded players (iframes), including OK.ru, VK, Mail.ru, Sibnet and Dailymotion
• Passes the Referer and User-Agent headers that some video servers require (desktop only)
• Pauses the browser video when mpv opens
━━━━━━━━━━━━━━━━━━━━
BEFORE YOU START: DESKTOP (Linux & macOS)
━━━━━━━━━━━━━━━━━━━━
Firefox cannot start other programs directly, so a small helper script has to be installed once. Windows is not supported yet.
- Install mpv (required) and yt-dlp (needed for YouTube):
• Linux: sudo pacman -S mpv yt-dlp (or: sudo apt install mpv yt-dlp)
• macOS: brew install mpv yt-dlp - Install the helper:
git clone https://github.com/TalhaAksoy/stream-to-mpv.git
cd stream-to-mpv
make - Restart Firefox, open any video page, and click "▶ mpv".
If the popup says the native host is not installed, run "make" again from the stream-to-mpv folder.
━━━━━━━━━━━━━━━━━━━━
BEFORE YOU START: ANDROID (Firefox for Android)
━━━━━━━━━━━━━━━━━━━━
1. Install mpv-android (package is.xyz.mpv) from Google Play, F-Droid or GitHub.
2. Install this add-on. No other setup is needed.
3. Tap "▶ mpv" on a video. If the app does not open, use "Share Stream to App…" in the same menu and pick mpv.
Android notes:
• YouTube, Mail.ru, Sibnet and Dailymotion play directly without yt-dlp.
• VK and OK.ru: in mpv-android, open Settings → Advanced → Edit mpv.conf once and add:
user-agent="Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
• mpv-android cannot receive Referer headers yet, so some embed sites that require them may not play on Android. They work on desktop.
━━━━━━━━━━━━━━━━━━━━
TIPS
━━━━━━━━━━━━━━━━━━━━
• Many embed players load the real stream only after you press Play. Press Play once, then click "▶ mpv".
• If the button does not appear, open Add-ons and themes → Stream to mpv → Permissions and allow access to all websites.
• DRM-protected services (Netflix, Disney+, Spotify, etc.) cannot be played in mpv. The add-on shows "Unsupported stream (DRM)" for them.
PRIVACY
No data collection, analytics or tracking. Stream URLs are passed only to mpv on your own device. Cookies are never stored or forwarded.
Privacy policy: https://github.com/TalhaAksoy/stream-to-mpv/blob/main/PRIVACY.md
Open source (MIT): https://github.com/TalhaAksoy/stream-to-mpv
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Access browser tabs
- Access your data for all websites
Optional permissions:
- Exchange messages with programs other than Firefox
- Access your data for all websites
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 1.2.2
- Size
- 240.22 KB
- Last updated
- 3 days ago (Nov 16, 2026)
- Related Categories
- License
- MIT License
- Version History
- Add to collection