Play with MPV

Play videos and songs on the website via mpv-handler

ผู้เขียน
akiirui
จำนวนติดตั้งประจำวัน
10
จำนวนติดตั้งทั้งหมด
13,216
คะแนน
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