IMA HTML5 - UI Controls - Play/Pause/Volume

401 views
Skip to first unread message

Ulisses Machado

unread,
Sep 19, 2022, 9:02:20 AM9/19/22
to Interactive Media Ads SDK
Hello, I'm trying to use UI related ad controls to attach a play/pause button to the ima ad container and been looking on the following documentation without success.


For me it actually seems that there aren't any methods to attach UI controls and think that I would need to inject them programmatically via javascript and attach within the ad container. 

Would like to get your view and prior experiences you might be able to share with me.

Thanks

IMA SDK

unread,
Sep 19, 2022, 11:08:13 AM9/19/22
to ima...@googlegroups.com
Hello,

With regards to repositioning the elements, such as moving the skip ads button or the learn more button, or redefining the design as it is, I'm afraid that this is not supported. It is possible that they (the one you checked) are implementing their own custom design, hence it shows differently from what is our default Ad UI. You may also do so, by providing your own logic, and using this custom ad countdown timer sample as your reference for your custom implementation.

Regards,
Google Logo
Teejay Wennie
IMA SDK Team
 


ref:_00D1U1174p._5004Q2eQPPn:ref

Ulisses Machado

unread,
Sep 19, 2022, 12:23:18 PM9/19/22
to Interactive Media Ads SDK
HI Teejay,

Thanks for this additional information, for the moment I'm actually wondering if there are SDK UI Elements for showing a play/pause icon within VAST or VMAP ads. At the moment I only could call the ad counter UI element.

adsRenderingSettings.uiElements = [google.ima.UiElements.AD_ATTRIBUTION, google.ima.UiElements.COUNTDOWN];

Are there opportunities/methods getting a play/pause element through the SDK?

Thanks

IMA SDK

unread,
Sep 19, 2022, 3:39:55 PM9/19/22
to ima...@googlegroups.com
Hi Ulisses,

I work with Teejay. Our Advanced sample has an example of a play/pause overlay, while our simple sample has a button outside the ad view. We don't have a specified method for doing player controls, it's up to the publisher to decide.

Regards,

Google Logo
Aryeh
IMA SDK Team
 


ref:_00D1U1174p._5004Q2eQPPn:ref

Ulisses Machado

unread,
Sep 20, 2022, 10:48:42 AM9/20/22
to Interactive Media Ads SDK
Great thank you Aryeh! Very helpful!
Reply all
Reply to author
Forward
0 new messages