Greasemonkey脚本暂停在非活动选项卡上的视频播放 [英] Greasemonkey script to pause video playback on non-active tabs
问题描述
是否有 greasemonkey 脚本,我可以用它来确保视频(特别是Youtube视频)被暂停,除非他们的标签我找到了两个选项:
Youtube备用视频播放器(greasemonkey脚本)
http://userscripts.org/scripts/show/ 13955
脚本摘要:
使用FlowPlayer Flash视频播放器替换YouTube视频播放器。
$ b
- 替换了youtube播放器
- no hd
- Firefox附加组件TubeStop
http://www.chrisfinke.com/addons/tubestop/
- 禁用YouTube视频上的自动播放功能
- 每次都会这样做(即使该标签已激活)
现在我将保留TubeStop插件。
Often when browsing in Firefox, I'll right click on a link, and open it in a separate tab to view later, and go on reading the current page. When the link is a Youtube script, however, playback starts immediately even though the tab isn't active. Other video players (like fora.tv and TED.com) don't start playback until you activate that tab.
Is there a greasemonkey script that I can use to make sure that videos (and especially Youtube videos) are paused unless their tab is active?
解决方案I found two options:
"Youtube Alternate Video Player" (greasemonkey script) http://userscripts.org/scripts/show/13955
Script Summary: Replaces the youtube flash video player with FlowPlayer flash video player.
- replaces the youtube player
- no hd
- no 16:9
Firefox Add-On "TubeStop" http://www.chrisfinke.com/addons/tubestop/
- disables the autoplay on YouTube videos
- does it every time (even if the tab is active)
I will keep the TubeStop addon for now.
这篇关于Greasemonkey脚本暂停在非活动选项卡上的视频播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!