Hi,
I know this is a feature that block/mute sound while a video is in autoplay mode in most browsers,
But how to bypass this? I saw an web app which created by ServiceNow can do this. At first I thought this is some javascript trick so I copied the javascript to my site and tried it. Of course the sound is still muted. So what is the proper way to get the autoplay/sound working?
Right now I need to set 'Sound' permission for my site inside Chrome' to let autoplay with sound. But that ServiceNow app doesn't need to do this on any browser.
Is this some kind of server setting? Something configuration inside Service Center?
Thanks in advance.
William.
With my testing, the videos do not autoplay at all on Chrome and Firefox. But when I click play it works with sound. The autoplay works on Edge and the sound is not muted.What I found interesting is that when I type window.open(location.href, '_self') or window.open(location.href, '_blank') into the browser console then it autoplays on Chrome and Firefox with sound
window.open(location.href, '_self')
window.open(location.href, '_blank')
Hi William,
Refer this How To Forge component web-embed-video-sample-react-application
Hope this helps you!
Regards,
Benjith Sam