0

I am trying to integrate an HTML 5 video player with It's auto-play attribute on my site. It is working fine on Web and other devices but it is not working with any android device which has 4.0 and above OS. I have seen this Link.But I am looking if there is any workaround for this issue.

Note:I have also tried implementing jwplayer but later on I found that it doesn't support the autoplay for android and ios devices.

PS : I have tried to put an image on top of video and clicking on that should trigger an autoplay but still no success.

Arihant Godha
  • 2,339
  • 2
  • 26
  • 50

1 Answers1

0

The only approach I know of is to provide a user interaction before the video begins to play like a 'touch to enter site' button, then on that event play the video. Playing video or audio in HTML5 requires user interaction on Android and iOS. It is by design - no workaround as of today is available. You can read here for confirmation.

You can read here for the whys and hows on iOS (which is the same info as on your Google link).

Community
  • 1
  • 1
Arnaud Leyder
  • 6,674
  • 5
  • 31
  • 43