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

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

Important: Ooyala Player V3 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V3 will no longer play your video or audio content. Customers still using Player V3 need to migrate to Player V4 (see Migrating from Player V3 and Player Migration FAQ).

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?