Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Internet, Networking, and Wireless
How to stop HTML5 auto play?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1640670" data-attributes="member: 71075"><p>This was going to be my suggestion - removing the autoplay attribute so as to prevent any autoplay. I don't actually think this is all that difficult - all one would need to do is remove all attributes from video tags using something like:[code]document.getElementsByTagName("video”).removeAttribute(“autoplay”)[/code]You can even inject this relatively easily with a Safari extension. Hmmm...I might take a crack at this later.</p></blockquote><p></p>
[QUOTE="vansmith, post: 1640670, member: 71075"] This was going to be my suggestion - removing the autoplay attribute so as to prevent any autoplay. I don't actually think this is all that difficult - all one would need to do is remove all attributes from video tags using something like:[code]document.getElementsByTagName("video”).removeAttribute(“autoplay”)[/code]You can even inject this relatively easily with a Safari extension. Hmmm...I might take a crack at this later. [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Internet, Networking, and Wireless
How to stop HTML5 auto play?
Top