HTML5 IMA SDK iOS Safari mute/unmute

341 views
Skip to first unread message

Marko Ristic

unread,
Mar 15, 2017, 10:04:56 AM3/15/17
to Interactive Media Ads SDK
Hi everyone,

There is an issue on iOS Safari where ads start with volume even though the content is muted. Also adsManager.setVolume(0/1) does nothing.

I am aware that on iOS devices changing volume on video elements has no effect. But this is not the case with muted attribute.
A solution could be to add set(get)Muted method that will effect muted attributes or set muted to true for setVolume(0) and to false for any other value.

Best,
Marko Ristic

Marko Ristic

unread,
Mar 15, 2017, 10:06:41 AM3/15/17
to Interactive Media Ads SDK

Deepika Uragayala (IMA SDK Team)

unread,
Mar 15, 2017, 2:32:25 PM3/15/17
to Interactive Media Ads SDK
Hi Marko,

I would assume that you are trying to play inline, in which case, you would have to add muted attribute to the video element. The setVolume() method would work if it's not autoplay inline for iOS.

Let me know if you continue to have issues.

Regards,
Deepika Uragayala
IMA SDK Team

Marko Ristic

unread,
Mar 16, 2017, 5:16:05 AM3/16/17
to Interactive Media Ads SDK
Hi Deepika,

Our video element has a muted attribute. But the problem lies in the fact that the IMA, in this particular case uses it's own video element that doesn't. As stated in the link I sent in the previous post.

Regards,
Marko Ristic.

Deepika Uragayala (IMA SDK Team)

unread,
Mar 16, 2017, 1:38:21 PM3/16/17
to Interactive Media Ads SDK
Hi Marko,

I've shared this information with the rest of the team, and we will take a look. We'll get back to you as soon as we have more information.

Regards,
Deepika Uragayala
IMA SDK Team

Deepika Uragayala (IMA SDK Team)

unread,
Apr 10, 2017, 3:33:56 PM4/10/17
to Interactive Media Ads SDK
Hi Marko,

The issue has been fixed and it will be released with our next version of SDK. You can keep an eye out on our release history page for more updates. 

Regards,
Deepika Uragayala
IMA SDK Team


Reply all
Reply to author
Forward
0 new messages