Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
Log in
Preview of Stream to mpv

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™
0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file
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.
  1. 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
  2. Install the helper:
    git clone https://github.com/TalhaAksoy/stream-to-mpv.git
    cd stream-to-mpv
    make
  3. 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
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
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.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.2.2
Size
240.22 KB
Last updated
3 days ago (Nov 16, 2026)
Related Categories
  • Photos, Music & Videos
  • Social & Communication
  • Games & Entertainment
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version. Android is a trademark of Google LLC.