0

So I am working on making a website for myself and it contains a looping youtube video in the background. But when I try to load the page on a mobile device the youtube video just keeps buffering and ends up telling me to restart. I know that autoplay isnt supposed to work on mobile devices, but the video clearly tries to start.

Is there a way to fix this?

The page is AMolle.com if you have the time to check it out=)

1 Answers1

0

Well, I'm not sure if there is a legal way on how to make auto play videos possible on the mobile device. The reason for the autoplay, playVideo() and loadVideoById() to do not work on mobile device is to prevent unsolicited downloads over cellular networks at the user’s expense and embedded media cannot be played automatically.

The other people use the UIWebView as an alternative for the IOS device to make the autoplay work. Check these threads for more information.

Community
  • 1
  • 1
KENdi
  • 7,576
  • 2
  • 16
  • 31