youtube-mpv :
Chrome extension and Firefox add-on that adds context menu option to play youtube videos with mpv (or other external player).
Arch Linux:
# yaourt youtube-mpv-git
# systemctl
$ systemctl --user
Client side (browser):
chrome://extensions/
tick Developer mode
Load unpacked extension...
Choose chrome directory of this project.
~/.config/mpv/config
opts=no-terminal
hwdec=vaapi
重新啟動 Browser
進入 youtube,滑鼠按右鍵選擇欲播放的影片 > Play with mpv