question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

adWillPlayMuted option is not working

See original GitHub issue

Hi,

I have a simple config for my video ad setup -

const options = {
    id: 'ad',
    debug: true,
    adWillPlayMuted: true,
    adTagUrl: // my ad tag url
};

this.ima(options);

The ad runs as expected but it is not muted. Is there something that I’ve missed. Please let me know.

I am using videojs-ima v1.0.4.

Thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Mar 9, 2018

Hi, I have faced the same problem, you can mute your ads after calling adsManager by: player.ima.getAdsManager().setVolume(0). Thanks

0reactions
ypavlotskycommented, Jun 8, 2018

Closing this out, feel free to comment if this is still an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML5: adWillPlayMuted and unmute issue - Google Groups
adWillPlayMuted seems somehow broken few days already. It looks that SDK unmutes initially muted ad (desktop, muted autoplay) without user interaction.
Read more >
IMAAdsRequest - Google Developers
adWillPlayMuted. Specifies whether the player intends to start the content and ad with no volume. Changing this setting will have no impact on...
Read more >
videojs-ima/CHANGELOG.md - UNPKG
This stopped working with the refactor, and due to how the player and contrib-ads ... 99, * Deprecated id setting, instead get the...
Read more >
videojs-ima - npm
Whether or not to automatically play VMAP or ad rules ad breaks. Defaults,to true. deprecated adWillPlayMuted, boolean, Notifies the SDK whether ...
Read more >
Videojs-ima-v7 NPM - npm.io
deprecated adWillPlayMuted, boolean, Notifies the SDK whether the player intends to start ad while muted. Changing this setting will have no impact on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found