Greasy Fork is available in English.

Play with MPV

Play videos and songs on the website via mpv-handler

Autor
akiirui
Instalações hoje
11
Total de instalações
10.335
Avaliações
37 1 0
Versão
2023.10.14
Criado
17/11/2020
Atualizado
14/10/2023
Licença
MIT
Aplicável a

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.

Supported sites

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

Of course, supported sites only.

GitHub

Thanks