No Sound from video playing within iframe

In our app, when playing a video within an iframe, there is no sound to be heard.
It works in a minimal demo app (testing with youtube embed)

What can be different in our app that prevents the sound?
When using local players sound is fine.

Thanks for your time!

Hi, can you please clarify what you mean that it’s working on “a minimal demo app”?

To clarify, when you are taking the share source code from YouTube, for example:

<iframe src="https://www.youtube.com/embed/uNRGWVJ10gQ?rel=0&amp;autoplay=1&mute=0" width="560" height="315" frameborder="0" allowfullscreen></iframe>

Don’t you hear a sound? Even if the mute param is set to 0?

For testing I simply added the embed iframe into both
a) the basic overwolf demo app, just in the html
b) replaced our iframe player with the same embed code (in a template of a single file component in a more complex vue app)

Result:
Sound is hearable in a) but not in b)

With native video tags, there is no issue with the sound.
On the visual player within the iframe, it was not muted and volume on full.

I managed to solve it by adding the iframe host to the manifest as
mute_excluded_hosts

@Colorfulstan, thanks for the update! Glad it’s working.

In your manifest window block make sure you set mute to false. Windows are muted by default.

Generally speaking, it’s usually preferrable to use mute_excluded_hosts instead, since mute must stay true if you want to display ads in that window. Plus, with sound being potentially disruptive, it’s always better to have it be an opt-in