-1

Chrome's updated it auto play policy which block user from autoplaying the video. I am having signage board where it is most important feature for my application. Is there any way I can autoplay the video? Please let us know if any solution or workaround is available. As per google document you can run video with sound in PWA app. I have tried that as will but unable to play the video. Thank you in advance. (https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#new-behaviors)

I have also referred multiple stack overflow question but haven't found any solution yet.

Joshi Vishwesh
  • 85
  • 1
  • 14

3 Answers3

0

There's a possibility if you mute your video by default autoplay is allowed and maybe unmute it onTouchstart:

<video autoplay muted> </video>
kevin
  • 872
  • 5
  • 18
0

It's not that Chrome blocks autoplay on videos, it's just not allowing to play it without prior user interaction with the page (click, tap, etc.) and when it's not muted, so one of those two conditions has to be fulfilled in order to autoplay.

DedaDev
  • 4,441
  • 2
  • 21
  • 28
  • 1
    Thank you for your response but the thing is I am trying one signage board in which video is main component and we need to play it without user interaction. – Joshi Vishwesh Jun 25 '21 at 16:55
-1

There are developer switches that you can use to force allowing autoplay, see Autoplay Policy Changes:

chrome.exe --autoplay-policy=no-user-gesture-required
zero298
  • 25,467
  • 10
  • 75
  • 100