Skip to content
项目

关于

Chrome extension that allows you to play videos in webpages like youtube with MPV instead

设计与媒体

这些数字如何统计

实测星标增长

24小时
-2
7天
-2
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Play with MPV

Chrome extension and python server that allows you to play videos in webpages with MPV instead.
Works on hundreds of sites thanks to youtube-dl, and even torrents if you install peerflix.

Installation

  1. Install MPV
  2. Install python 2 or 3 and pip
  3. Install chrome extension
  4. Run pip install git+git://github.com/thann/play-with-mpv --user
  5. Start server by running play-with-mpv (or use the Linux free desktop shortcut)

(optional) Install fair-use extension.
(optional) Install peerflix to stream torrents.
(optional) Install mkchromecast pip install git+git://github.com/muammar/mkchromecast --user and extension.
(recommended) Install youtube-dl through your package manager for frequent updates.
(Arch Linux) aur package available.

Usage

Right-click this link and select "Play with MPV". MPV should popup and start playing the video. (Ctrl+Space also works)

screenshot

Autostart

  • Linux: cp {/usr,~/.local}/share/applications/thann.play-with-mpv.desktop ~/.config/autostart
  • MacOS: instructions
  • Windows instructions

Protips

MPV is highly configurable, this is just how I like to use it.

To start in the corner, have no border, and stay on top: edit ~/.config/mpv/mpv.conf

ontop=yes
border=no
window-scale=0.4
geometry=100%:100%

In order to resize the window without borders, add keybinds: edit ~/.config/mpv/input.conf

` cycle border
ALT+UP add window-scale 0.05
ALT+DOWN add window-scale -0.05

探索相关项目

加载中…