Disable audio/video autoplay

Ensures that HTML5 audio and video elements do not autoplay, based on http://diveintohtml5.info/examples/disable_video_autoplay.user.js

目前为 2015-02-20 提交的版本。查看 最新版本

作者
James Edward Lewis II
评分
0 0 0
版本
1.1.2
创建于
2015-02-12
更新于
2015-02-20
大小
4.0 KB
许可证
暂无
适用于
所有网站

After YouTube switched to using HTML5 by default, I wondered why Mark Pilgrim's classic "Disable video autoplay" UserScript from Dive into HTML5 wasn't working, and why it didn't keep Vine videos from autoplaying; I didn't notice anything wrong with the script itself, and I learned that YouTube uses a different method to make videos autoplay when I saw that the autoplay attribute was already false, but I was still inspired to extend the old script to turn off autoplay for HTML5 audio. I might figure out how to make this keep Youtube and Vine from autoplaying too.

I added a workaround for YouTube (and possibly Vine) based on this: https://gf.qytechs.cn/en/scripts/6487-pause-all-html5-videos-on-load I added a workaround for the older Flash-based YouTube, based on this: http://userscripts-mirror.org/scripts/review/100858

QingJ © 2025

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