使用 MPV 播放

通過 mpv-handler 播放網頁上的視頻和歌曲

作者
Stack Exploit
今日安裝
0
安裝總數
486
評價
0 0 0
版本
2023.07.04
建立日期
2023-07-08
更新日期
2023-07-08
授權條款
MIT
腳本執行於
所有網站

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?