Play videos and songs on the website via mpv-handler
Play videos and songs on the website via mpv-handler, without any background service.
This userscipt is not compatible with Greasemonkey v4.0+, try Violentmoneky or Tampermonkey.
For Windows users, recommend to install shinchiro's mpv builds.
This build include
mpv
andyt-dlp
both, and have a script to update these.After install this build, remember run
updater.bat
to updatempv
and download latestyt-dlp
.
mpv.net is a media player for Windows with a modern GUI.
mpv-handler is compatible with mpv.net, just set
mpv
to mpv.net executable binary inconfig.toml
Open supported sites and click left-bottom mpv icon.
Enjoy!
For advanced users to view member-only videos.
Because userscript no permissions to access full cookies (like
HttpOnly
cookies), then manually export cookies only.
Cookies must be export to these path:
Linux:
$HOME/.config/mpv-handler/cookies/
Windows:
(mpv-hander.exe parent folder)\cookies\
Cookies file name must be following this format:
www.youtube.com.txt
(https://www.youtube.com/watch?v=BUOmDL1L4XU)For more details, see MPV Profiles
This feature based on Format Selection
This feature based on Sorting Format
yes
: Run mpv-handler with console window to view outputs and errorsno
: Run mpv-handler without console windowIf you need support for some sites, create a Issue.
Of course, supported sites only.