Skip to main content


Autoplay of videos on web pages is a highly discussed topic. Does it improve or reduce user experience?

Autoplay and audio configuration


Autoplay of video and audio streams is now only supported with muted audio (silent)!
When audio is not muted, the video would just not play.

This is a restriction introduced by all large browser vendors, and it requires fine-tuned configuration for web developers.

From the Google web page:

Chrome's autoplay policies have changed in April 2018 and this is going to affect video playback with sound. Spoiler alert: users are going to love it!

How can you achieve autoplay on web pages with H5Live player?

With autoplay and automute enabled the player will attempt to start the playback unmuted. If this fails due to browser autoplay policy restrictions the playback will be started muted.

Configuring auto mute in nanoStream H5live Player:



var config = {
"source": {
// ...
"playback": {
"autoplay": true,
"automute": true,
"muted": false
// ...
More information regarding autoplay

Learn more about the autoplay policy changes on the Chrome web page
Read more on this blogpost about the autoplay policy changes for Webkit / Safari web page

Autoplay and iOS low power mode

Due to iOS security policies implemented by Apple themselves, in low power mode, it is required to have a user interaction to start the playback. This behavior is expected even if muted - there are no exceptions in low power mode. As the playback is denied without the user gesture, the 1005 error is thrown (Playback must be initialized by user gesture). It is recommended not to attempt a recovery for 1005 error but to find a workaround, i.e ask the user to "tap to play" instead.