logo

Is it possible to hide/disable the Google IMA UI?

You may ask this question if you are trying to determine what controls are visible to the user during ands and want therefore to use your own UI elements.

Unfortunately Google IMA provides very limited control over the UI. The only thing that is possible to change/hide from THEOplayer is the countdown: to do so, you can configure as *showCountdown: false* in the AdsConfiguration (related documentation).

Using other methods, like CSS or JavaScript, to modify the Google IMA UI elements styles will also not work due to:

  • the usual higher specificity of the iframe CSS
  • the security restrictions on XSS.
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona