JavaScript
Article
By Sam Deering

Autoplay Flowplayer on the iPad

By Sam Deering
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

How to setup flowplayer ipad autoplay. “iOS does not allow to play videos automatically on page load. For consistency we therefore recommend embedding with a splash image.” Try the following code.

onLoad: function()
{
  $f().play();
  $f(playerid).play();
}

And also clip settings:

autoPlay: true,
live: true,
autoBuffering: true,

There is also an ipadUrl parameter. It is worth noting that once you specify an “ipadUrl” it stops adding a src= parameter to the video tag, so the iDevice never knows what video to play.

--ADVERTISEMENT--

clip:
{
    ipadUrl: ipad_streamAddressFull
}
Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?