Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Prevent iOS video autoplay on touch unlocking?

Stunt Pixels

Recommended Posts

I've put a sample showing this behaviour up at - http://stuntpixels.com/foo/ - and a zip at - http://stuntpixels.com/foo/foo.zip

For various reasons, I need to ensure some videos are preloaded before playing the next state – for this demo case I'm showing it all in the one state. Only the 'create' and 'preload' functions are required to display the issue - the other functions are just there to check video preload progress.

If this is loaded into a desktop browser, it runs fine. In a mobile, or emulation of a mobile, the videos both play once the canvas is clicked after they're loaded - even though the movies are never added to the game world.


Link to comment
Share on other sites

  • 7 months later...
  • 4 months later...

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...