Netflix recommended video trailers play sounds even without the user interacting with the page first. How?
Asked
Active
Viewed 289 times
-1
-
[Browsers generally require the user to interact with the video controls in the page and other heuristics](https://arstechnica.com/gadgets/2018/03/chrome-66-will-try-to-block-unwanted-noisy-autoplaying-video/) to determine that the user *wants* to play audio/visual content (as opposed to annoying video ads which no-one asked for and no-one wants and holy crap you're wasting _how much_ of my mobile data plan's bandwidth?!?). So how are you using ` – Dai Jun 19 '21 at 20:55
-
What do you mean by "Feature Component"? – Dai Jun 19 '21 at 20:56
-
I'm trying to use it just as Netflix does, if the user goes off the page the sound stops, but if he's in the page, the image fades and the video plays automatically through a reducer, play state is on just as "muted" attribute is off. – KayIcee Jun 20 '21 at 12:14
-
The thing is, if I have mute off and autoplay true the browser prevents me from playing the video and it stops – KayIcee Jun 20 '21 at 12:15
-
Thats why I'm asking if there is a way to overwrite the chrome policy just as Netflix does – KayIcee Jun 20 '21 at 12:16
-
@Dai I mean the component which usually have the trailer which covers 100vh of the screen and has those "play & additional info" buttons aswell as the mute button on the right side – KayIcee Jun 20 '21 at 12:20
1 Answers
2
According to this article, Chrome allows autoplay for over 1,000 sites where they see that the highest percentage of visitors play media with sound. And Netflix is also whitelisted.

m24197
- 1,038
- 1
- 4
- 12