Autoplay on iOS

The implementation of the volume API of AdobePSDK.MediaPlayer allows autoplaying content on devices running iOS version 10 or above. iOS allows autoplay only when the volume is muted. When the volume is set to zero, the API sets the muted property of the video tag to true, otherwise the muted property is set to false. The play API starts the playback without any user interaction or user gesture.

For autoplay on iPhone, additionally set the playsInline property of the video tag to true.

videoDiv.getElementsByTagName('video')[0].playsInline = true;
NOTE

Use of playsInline property starts the playback without the fullscreen mode.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now