Hiding the Control Bar for Ad Playback in a Parameter Hash Tag in Player V3

Hide the control bar during ad playback through an option hash tag.

Note: This parameter is available for Flash and HTML5 desktop.

You can hide the control bar when a video ad is playing on your player by setting showInAdControlBar to false in an option hash tag. If showInAdControlBar is missing or set to true, the control bar will appear while an ad is playing on your player. By default showInAdControlBar is set to true. This global parameter works for all ad types supported by Ooyala.

Note: There is a Google IMA embedded parameter also called 'showInAdControlBar'. You should not use both showInAdControlBar parameters simultaneously. The preferred method is to use the global parameter explained on this page outside of the 'google-ima-ads-manager' hash.


The following example shows how to hide the control bar.

var player = OO.Player.create('playerwrapper', embedCode, {
    showInAdControlBar: false

Was this article helpful?