Skip to content Skip to sidebar Skip to footer

Html5 Video Does Not Autoplay In Osx Safari If Positioned Outside The Viewport

I´m trying to autoplay and inline an html5 video on a web page. This works fine in all browsers and all devices (except for some Android devices). However, if you place the video

Solution 1:

It looks like your video is autoplay and muted - there is a known issue which is addressed in one of the later Safari release which may addresses this [my bolding]:

Media

  • Implemented HTMLMediaElement dispatch of the onencrypted event
  • Fixed autoplay muted videos not playing when outside the viewport
  • Fixed HTMLTrackElement behavior to match standards

More info on the preview releases here: https://developer.apple.com/safari/technology-preview/release-notes/

You can download the preview releases here to verify if this solves your issue: https://developer.apple.com/safari/download/

Post a Comment for "Html5 Video Does Not Autoplay In Osx Safari If Positioned Outside The Viewport"