Greasy Fork is available in English.
通過 mpv-handler 播放網頁上的視頻和歌曲
This is easy, but it will destroy the video player on the page. (The video cannot be played before you refresh the page)
I will not change this. And you can close the page after opening mpv.
It would be nice if you could figure out how to terminate the video loading in YouTube once the icon is clicked. It successfully pauses the video, but it keeps loading in the background after mpv has opened.