Play with MPV

Play videos and songs on the website via mpv-handler

Author
akiirui
Daily installs
12
Total installs
10,414
Ratings
37 1 0
Version
2024.04.22.3
Created
2020-11-17
Updated
2024-04-22
License
MIT
Applies to

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

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.

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