Skip to content

Stream playback in browser is automatically muted #3

Discussion options

You must be logged in to vote

This is a limitation with how popular web browsers behave when there is media with sound on a web page. You will observe different behavior depending on the web browser autoplay policy being used by the end-user and in particular when a user is on a mobile platform.

Recommendations

When using the streaming hosted player on a web page (ie. Getting Started by Embedding the Streaming Viewer in an iFrame) you should:

  • set autoPlay to true
  • set muted to false

This is typically done with query strings at the end of the src viewer URL such as:

<iframe src="https://viewer.millicast.com?streamId=abc123/mystreamName&autoPlay=true&muted=false" allowfullscreen width="640" height="480">
</iframe>

Th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Briggs599
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dolbyio-streaming Dolby.io Streaming APIs: Build real-time streaming applications to broadcast your live content. ⌨️ web Web application related to JavaScript, frameworks, and browsers
2 participants