Autoplay on Web Pages with H5Live Player for Ultra-Low-Latency Live Streams

Autoplay of videos on web pages is a highly discussed topic. Does it improve or reduce user experience? Browser vendors decided to only allow auto-play with silent audio, otherwise it would just not play automatically and stop.
This requires fine-tuned configuration for web developers.

From the Google web page:

Chrome’s autoplay policies will change in April of 2018 and I’m here to tell you why and how this is going to affect video playback with sound. Spoiler alert: users are going to love it!

How can you achieve auto-play 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:

config.playback.autoplay=true;
config.playback.automute=true;
config.playback.muted=false;

There is always a user interaction (click) required to start on some browsers.
However, you can reuse other clicks on your end to trigger playback, and connect to the play function.

More information:

Chrome web page

Webkit / Safari web page

H5Live Player Documentation