Autoplay on iOS (onneedtouch)

  • Hi,

    I have some video hotspots, with all the same properties (except for the video URL). Some of these video's automatically start playing when I trigger them by clicking on a image hotspot, which is what I need.

    On iOS, a few video's don't automatically start playing, but I have to touch the screen to play them, but most video's do start playing automatically on iOS, which makes it weird!
    These problematic video's trigger the 'onneedtouch' event, while the others don't.

    Is there something in the video source file that causes this behavior? Is there any way to solve this?
    They are all .mp4 files by the way.

  • I found out that the issue was only with video's that contain audio.

    According to this article iOS blocked autoplay for video's with audio.

    Even though some of my video's didn't seem to have audio, I still have a silent audio track. I removed these audio tracks and then the video's did autoplay!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!