Play with MPV

Play videos and songs on the website via mpv-handler

יוצר
akiirui
התקנות יומיות
11
סה"כ התקנות
13,273
דירוגים
42 1 0
גרסה
2024.09.27
נוצר
17-11-2020
עודכן
27-09-2024
רישיון
MIT
חל על

play with mpv

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.

Installation

userscript

mpv-handler

mpv-handler

mpv & yt-dlp

Recommended

For Windows users, recommend to install shinchiro's mpv builds.

This build include mpv and yt-dlp both, and have a script to update these.

After install this build, remember run updater.bat to update mpv and download latest yt-dlp.

Alternatives

badges-mpv-net

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 in config.toml

Usage

Open supported sites and click left-bottom mpv icon.

Enjoy!

Try Pass cookies

For advanced users to view member-only videos.

Because userscript no permissions to access full cookies (like HttpOnly cookies), then manually export cookies only.

  1. Open settings, Switch Try Pass Cookies to Yes.
  2. Export cookies file manually (Chromium, Firefox)

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:

MPV Profile

For more details, see MPV Profiles

  1. Open settings, enter your want profile name.

Prefer Video Quality

This feature based on Format Selection

  1. Open settings, choose your want video quality.

Prefer Video Codec

This feature based on Sorting Format

  1. Open settings, choose your want video codec.

Run With Console

  • yes: Run mpv-handler with console window to view outputs and errors
  • no: Run mpv-handler without console window

Supported sites

If you need support for some sites, create a Issue.

Of course, supported sites only.

GitHub

Thanks