Live data from Hacker News

Chrome does not have any way to stop video auto play?

news.ycombinator.com

61–64 of 64 posts

Re: Chrome does not have any way to stop video auto play?

#61
If its youtube, change your settings, Its autoplay on default.

If its your website, just set it up like you want in the video tag.

Not sure why this post wasnt removed tho. This is just general issues you could have googled for a solution or askes a site dedicated to it such as stack overflow.

Re: Chrome does not have any way to stop video auto play?

#62
post #14
post #3

See: https://developer.chrome.com/blog/autoplay tl;dr: The browser attempts to learn your preference for each site automatically based on how you interact with videos. You can see what it's calculated by visiting chrome://media-engagement

> attempts to learn Oh god, that reminds me of another piece of bullshit Chrome magic. They made a system when the browser shares signatures of forms/fields with a central server, which sends back "crowdsourced" autocompletion rules, and they've made it almost impossible for developers to stop it from doing that [0] even when it's flat-out wrong and users are complaining about inappropriate autocomplete suggestions b…

P.S.: Messing with the issue-tracker (and bringing up unpleasant memories of desperately trying to find a workaround in their source-code) I find that the two linked issue about this anti-feature rank are both in the top-15 most-voted open issues. (Rank 14 and 9, respectively.)

https://issues.chromium.org/issues?q=status:open%20votecount...

(Vote count column not displayed by default.)

Re: Chrome does not have any way to stop video auto play?

#63
Quoting part of k1t's comment[0] for visibility:

"I do recall a Firefox discussion about how they can't 100% block videos because there will always be another way - eg do animated gifs count, or javascript that shows a rapid sequence of images [...]"

I also recall this being a justification given for auto-playing muted or audio-less video (i.e. because blocking "efficient" muted video playback will just lead to malicious actors using "less efficient" means of "image sequence" playback thus increasing the negative impact further).

On a related note, the other day I also discovered (while debugging why an audio demo didn't work the same way it did six years ago :D ) that there's now also a concept called "Sticky Activation" which can also impact "Autoplay of Media and Web Audio APIs (in particular for AudioContexts)"[1].

----

[0] https://news.ycombinator.com/item?id=43033814

[1] https://developer.mozilla.org/en-US/docs/Web/Security/User_a...

Re: Chrome does not have any way to stop video auto play?

#64
post #46
post #38

I made a small ViolentMonkey script to stop autoplay on Youtube, which is really annoying // ==UserScript== // @name YouTube video page AutoPause // @namespace https://greasyfork.org/en/users/13981-chk1 // @description Automatically pause YouTube videos on Youtube video pages // @icon https://www.youtube.com/s/desktop/536ed9a8/img/favicon_96x96.png // @include https://*.youtube.com/watch* // @include http://*.youtube…

Good work and fantastic commenting!

Thanks :)
Post reply on HN