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.

Note: Ooyala Player V3 has been deprecated and is scheduled to be disabled. For details and alternatives, see the OVP Release Notes.

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.

Example

The following example shows how to hide the control bar.

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

해당 내용이 도움 되었습니까?