Opens URLs (video) in mpv or vlc media players
Supported players:
- mpv
- vlc
- FireFox: Install extension from Mozilla Add-Ons if not already.
- Chromium Browsers: Download this repo and load unpacked from and point to the
srcdirectory here.
Important
For mpv setup, ytdl:// URL's need to be associated with mpv
For vlc setup, vlc:// URL handler needs to be created, such URLs be associate with it
Download and run the install.sh script. Option to choose players will be provided.
chmod +x ./install.sh
./install.sh- Navigate to address
about:support. - Look for an entry Profile Directory or Profile Folder (on Windows).
- Open this directory or folder to find
handlers.jsonfile. - Open the file to edit it (you may need to format it to be readable, you could do that with your text editor or an online tool like jsonlint.com).
- In this JSON file, there are few schemes defined, you will need to add
a new one named
ytdlwith and empty object{}at the end ofschemesobject value, like this: -
- Restart Firefox.
- Navigate to address
about:preferences#generaland find the Applications section. Here, you will find theytdlentry. - Choose the Action for the
ytdlentry as to open withmpv.