To enable auto-play, you must add the autoplay and muted attributes to your video tag in your HTML markup:
<video autoplay muted></video>
let videoEl = document.querySelector(‘video’);
*References for additional information:
By default, the Millicast hosted viewer is set to honor autoplay, but this can be easily disabled by setting the query string muted property in the Millicast hosted viewer URL to false:
We hope you found this tutorial helpful. Please feel free to comment with any feedback or suggestions. Happy streaming!