Play with MPV -- enabled on all websites.

Play videos and songs on the website via mpv-handler

Autor
Stack Exploit
Installationen heute
1
Installationen gesamt
519
Bewertungen
0 0 0
Version
2023.07.04
Erstellt am
08.07.2023
Letzte Aktualisierung
08.07.2023
Lizenz
MIT
Wird angewandt auf
Alle Seiten

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?