This is a Firefox addon that makes it easier to stream videos in MPV.
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 "Play in MPV" context menu.
The 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.
A native client is not needed. All this extension does is call MPV via the ytdl:https:// 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.
Open the Windows Terminal.Install mpv.net using the package manager:
winget install mpv.net
Install yt-dlp:
winget install yt-dlp.yt-dlp
Go to YouTube and try it on a video.Select Always allow this extension to open ytdl links.
- Download and extract mpv for Windows to your destination folder.
- Download the yt-dlp executable and put it inside the MPV folder.
- Get the ytdlProtocol.bat file from this repository.
- Extract it to the folder where MPV is located (important!).
- And run the script a single time. No need for administrator permissions.
- Make sure mpv and yt-dlp are 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 inside the file to reflect your installation.
- Double-click it on file explorer to merge the changes to the registry.
To @Daktyl198 for the contribution and for getting the protocol added to mpv.net:
mpvnet-player/mpv.net#341
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.