I've developed an application like netflix which streams video. I'm working with video.js.
when I try to play unmuted video, it throw error says that
"Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https:// goo.gl/xX8pDD"
I can understand what the policy is, but I wonder how autoplay works in Netflix.
Video Preview on netflix works with sound well on chrome and safari. as soon as I access the video chat page in Netflix party, it turns to play with sound.
I wanna know what they do and apply them to mine.
Thanks.
On an iPhone, iPad, Android phone or tablet Tap Manage Profiles. Select the profile you want to edit. Toggle the switch next to Autoplay Next Episode to turn the setting on or off. Tap Done.
Some web browsers, including Chrome, restrict the autoplay of videos to improve the user experience. In some cases, this may result in the video features of Wonder not functioning. To prevent this, make sure the 'autoplay block' is disabled in your browser.
Disable Autoplay Videos in Chrome on AndroidAndroid makes disabling autoplay videos simple. First, launch Chrome on your phone or tablet and go to Settings > Site Settings. Next, scroll down the menu and tap on Media, and then Autoplay and toggle the switch off.
It seems some sites are whitelisted:
If you don’t have browsing history, Chrome allows autoplay for over 1,000 sites where we see that the highest percentage of visitors play media with sound.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With