Play with MPV -- enabled on all websites.

Play videos and songs on the website via mpv-handler

Skapare
Stack Exploit
Dagliga installationer
1
Totala installationer
519
Betyg
0 0 0
Version
2023.07.04
Skapad
2023-07-08
Uppdaterad
2023-07-08
Licens
MIT
Gäller för
Alla sidor

This is based on the original which only had a few supported sites. This one basically only has its code changed so that the return value is always true. so that all supported sites are enabled. This is not ideal because now also all unsupported sites are enabled too but I can't be bothered to make it any better as long as it works wherever I need it to.

I'm sharing this for myself, and for anyone else who may find it useful. Be aware that there may be about 10 seconds for the mpv-handler to open the video for you fter the command line interpreter window appears. This is regardless of the current script. Some verbosity would be nice so it doesn't appear like it's not doing anything).

Admittedly, ideally it'd be best to get a list of youtube-dlp extractor website URLs and paste them into this script appropriately. That would make the button not appear on unsupported websites without videos, but I can't be bothered. Maybe you will?