HTML5 Video Autoplay in mobile browsers

0

The autoplay attribute in the VIDEO tag does not seem to work in mobile browsers, I've researched it and it looks like this concerns a permissions policy between the browser and the end user, I tried to force autoplay by triggering a click event to a play button, works on the desktop browser but not on the mobile.

Any way to circumvent it? and set up autoplay to play on mobiles.

    
asked by anonymous 08.07.2015 / 18:00

2 answers

1

You can not autoplay a video in mobile browsers. This is a limitation imposed by them.

This limitation is intended to prevent unsolicited download through the user data package, thereby saving the franchise.

As far as I know there is no way to circumvent this limitation, just a user-initiated event, such as a touch screen can start the video, and this can not be simulator by javascript.

    
08.07.2015 / 18:43
0

If the video is in a banner on the page, you can try to put it in the second transition, or force the user to click on the next banner to be able to see the video, so it will be a request from the user. p>     

08.07.2015 / 18:57