This is a Firefox addon that makes it easier to stream videos in the MPV player.
Clicking the icon in your toolbar will make MPV attempt to play the current URL.
If you want to play a specific link on a page, right-click it and select the context menu.
This extension can also be activated by the Ctrl+Shift+Space shortcut.
- Add-on for Firefox
- If you're on Linux or Mac, check out the original version.
- mpv for Windows
- Download: mpv-x86_64-windows-msvc.zip
- Extract the zip file to your destination folder.
- yt-dlp
- Allows MPV to open videos directly from streaming sites.
- Needs to be updated regularly.
- Download: yt-dlp.exe
- Put the executable inside the MPV folder.
- Alternative install:
winget install yt-dlp.yt-dlp
A native client is not needed. All this extension does is call MPV via the ytdl:// protocol, which is natively supported. The path to the MPV executable must be added to the registry, though. This can be done by one of the methods below.
- Make sure mpv and yt-dlp are installed / stored in the same folder.
- Get the ytdlProtocol.bat file from this repository.
- Extract it to the folder where MPV is located (important!).
- Run the script a single time. No need for administrator permissions.
- Go to YouTube and try it on a video.
- Select Always allow this extension to open ytdl links.
- Make sure mpv and yt-dlp are installed / stored in the same folder.
- Get the ytdlProtocol.reg file from this repository.
- Open it with a text editor.
- Change the path to the MPV executable in the editor to reflect your installation.
- Save, close and double-click it on file explorer to merge the changes to the registry.
To @Daktyl198 for the contribution.
The source code in this repository is licensed under the MIT license.
The icons in this repository are licensed by the MPV team under GNU LGPL, version 2.1.