使用 MPV 播放

通過 mpv-handler 播放網頁上的視頻和歌曲

< 腳本使用 MPV 播放的回應

評論:正評 - 腳本一切正常

§
發表於:2023-10-12

Very nice. I would suggest that buttonPlay.target be set to _self instead of _blank so that it won't needlessly open a new window.

akiirui作者
§
發表於:2023-10-12
編輯:2023-10-12

Thanks, it used to be "_self" with iframe until some sites broke it.

See https://gf.qytechs.cn/en/scripts/416271-play-with-mpv/diff?v1=1115895&v2=1115885

And using _self in the current page will break the functionality of the site. When you return to this page, the experience is terrible.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址