HTML5: adWillPlayMuted and unmute issue

661 views
Skip to first unread message

Petr Schuchmann

unread,
Feb 27, 2020, 1:56:38 PM2/27/20
to Interactive Media Ads SDK
Hi,

adWillPlayMuted seems somehow broken few days already. It looks that SDK unmutes initially muted ad (desktop, muted autoplay) without user interaction. I could see what happens when I turned on debug and VAST contained mute/unmute tracking events. These events are triggered and tracked both without user interaction on ad start (preroll). User's click to mute during ad playback works as expected. 

Settings:
adsRequest.setAdWillAutoPlay(true);
adsRequest.setAdWillPlayMuted(true);

adsManager.setVolume(0); // no effect

Debug output:
Starting ad break
[Html5VideoDisplay] No valid AdMedia; setting url directly. 
[  1.169s] [ima.vast.VideoAdEventTracker] dispatching event mute 
[  1.230s] [UrlReporter] Reporting urls for event : mute 
[  1.251s] [ima.vast.VideoAdEventTracker] dispatching event unmute 
[  1.265s] [UrlReporter] Reporting urls for event : unmute 
ERROR: [ima.admanager.VideoAdManager] Event type not supported: unmute 
[ima.vast.VideoAdEventTracker] dispatching event impression 
[UrlReporter] Reporting urls for event : impression 
[UrlMacrosReplacer] No macro definition found for: timestamp 
[ima.vast.VideoAdEventTracker] dispatching event creativeView 
[UrlReporter] Reporting urls for event : creativeView 
ERROR: [ima.admanager.VideoAdManager] Event type not supported: creativeView
[ima.vast.VideoAdEventTracker] dispatching event start 
[ima.vast.VideoAdEventTracker] dispatching event measurable_impression 
[UrlReporter] Reporting urls for event : start 
[ima.vast.VideoAdEventTracker] dispatching event viewable_impression

It affects atleast VAST(v2) and VPAID (with linears), tested on multiple adTagUrls and with multiple browsers.
I tried to dig on my side (volumechange on content video is not triggered, removed hotkey plugin etc.), but without luck. 

Could you check that guys?

Thank you.

IMA SDK

unread,
Feb 27, 2020, 5:55:19 PM2/27/20
to petr.sc...@tiscalimedia.cz, ima...@googlegroups.com
Hi,

Thank you for reaching out to us. I was not able to reproduce the behavior that you're seeing with the adsManager.setVolume(0) not working when setAdWillPlayMuted and  setAdWillAutoPlay are set to true in VPAID context. Given the log you shared, the issue seems to be with your implementation. Were you able to reproduce the behavior using our AdvancedExample sample? If yes, can you share the sample app that you were using when you encountered the behavior? Feel free to share your sample app via the imate...@gmail.com alias and let us know once it is done.

Regards,
Arnaud Casame
IMA SDK Team


ref:_00D1U1174p._5001UXTTAV:ref

Petr Schuchmann

unread,
Feb 29, 2020, 8:39:26 PM2/29/20
to Interactive Media Ads SDK
Hi,

Thank you for advices. I was able to fix this on my side. After AdsManager.init(), I called setVolume() with value=adsManager.getVolume() (which was in fact pointless). And it became broken.

My only explanation is that in previous version, AdsManager initialized volume/muted based on content video element passed to SDK. Now, it seems that AdsManager ignores content volume settings.

So now I set volume manually based on content video after AdsManager.init() and it works.

Kind regards.

P.S.

Dne čtvrtek 27. února 2020 23:55:19 UTC+1 imasdkforumadvisor napsal(a):

IMA SDK

unread,
Mar 1, 2020, 10:11:35 PM3/1/20
to petr.sc...@gmail.com, ima...@googlegroups.com

Hi there,

 

Thanks for your response. With regard to the previous SDK version, the only changes that were made related to volume previously is about an issue that prevented setAdWillPlayMuted from muting ads if enablePreloading was set to true. Thus, not related to the ad manager ignoring the content volume settings.

 

However, we're glad that this is now working for you. Please let us if you're still encountering any issues related to the IMA SDK implementation and we're happy to assist you.

 

Regards,

Sherwin Diesta

Reply all
Reply to author
Forward
0 new messages