Autoplay (or autostart) allows media content, or a linear video ad unit in case of pre-roll, to start without the need for a user interaction, this is most of the time when page loads.
Radiant Media Player provides support for autoplay of content or pre-roll video ad with live, DVR & on-demand streaming. Autoplay works with all supported streaming protocols (HLS, DASH or progressive download). Autoplay of outstream video ad unit is also supported. Here is our scope of support:
An example of implementation with video ads can be found here.
With the release of iOS 10 and Chrome 53 on Android muted autoplay of HTML5 video has been introduced on mobile devices. Previously it was not possible to autoplay video content on iOS & Android browsers even muted. Radiant Media Player has supported muted autoplay for content since the release of iOS 10 and Chrome 53 for Android browsers. With the release of Google IMA SDK 3.164.0 we have also added muted autoplay support for video ads (version 4.0.19) on mobile devices. Muted autoplay of video ads is also possible with our own VAST parser rmp-vast. Autoplay with sound (e.g. not muted) is still not possible on iOS or Android browsers as of July 2017 and we do not expect this to change in the near future.
Our testing shows that muted autoplay of preroll video ads or video content works well in latest Safari & Chrome for iOS 10+ and latest Chrome & Firefox for Android 5+. Browsers like Samsung Internet or Opera for Android do not seem to provide direct support for muted autoplay and as such those browsers are unlikely to support this feature.
It is not enough for a desktop or mobile browser to exhibit support for autoplay through HTML5 video. It must also be able to actually autoplay the media content when requested. Changing device conditions and users settings can block autoplay on mobile or desktop devices. Thanks to our open source rmp-detect-autoplay script Radiant Media Player can safely enable effective autoplay where available. Here are the reasons why you should want to enable autoplay feature detection:
Command the player to autoplay content when init method is called. This works for media content and video ads. On modern mobile devices muted autoplay is supported for media content and video ads. Default: false.
In latest mobile browsers muted autoplay of content/pre-roll ad is supported. When both
mutedAutoplayOnMobile are set to true the player will use muted autoplay on mobile browsers. Setting mutedAutoplayOnMobile
to false while autoplay is set to true will cause the player to only autoplay on desktop browsers. Default: true.
Autoplay support for a specific device does not mean the player can actually autoplay the content or the preroll ads at runtime.
device conditions and users settings can block autoplay on mobile or desktop devices. This setting enables feature-detection of autoplay support for the targeted device at player runtime. Default: true.
It should be noted that setting
featureDetectAutoplay to false will force autoplay on the player and may result in a higher rate of autoplay but at the cost of a poorer experience for some viewers and wasted bandwidth on users/devices that block autoplay.
This setting is expressed in milliseconds and represents the time after which the player will stop trying to detect autoplay support (muted-autoplay on mobiles). If timeout is reached the player considers autoplay is not available. Most of the time the player will never reach this timeout as feature detection happens very fast before timeout is reached. Increasing this value may cause an increase accuracy for autoplay support detection but at the potential cost of slower player startup. If you target a market with older devices or where network conditions are known to be highly fluctuant or if you are using iframe embedding, you may consider increasing this setting. Default: 8000.