2 ms·
Considering that Chrome doesn't support getAutoplayPolicy() even though it's been 7 years since browsers decided to break autoplay for everyone, I'm pretty sure
by imtringued 1y ago
Considering that Chrome doesn't support getAutoplayPolicy() even though it's been 7 years since browsers decided to break autoplay for everyone, I'm pretty sure Google doesn't have any good intentions here.
If you have a website that relies on autoplay, because it is basically just one giant video element, then there is no way to detect that autoplay is blocked and fall back to a stopped video. You're forced to essentially not use autoplay at all. When autoplay is blocked you don't get an error, the autoplay events are simply disabled. You can't prove the absence of the event even with an invisible silent sound being played in the background. That's what getAutoplayPolicy() is for and guess who didn't implement it.