A component of the ConfigurableVideoPlayer that manages the player controls.
Properties
| Name | Type | Description | Default |
|---|---|---|---|
color | uint | The color of the buttons. | |
overlayControls | Boolean | Whether or not the controls overlay on top of the video. | false |
playOverlayAsset | String | Optional asset for the poster. | null |
style | String | The style of the buttons. | round |
Constructors
ConfigurableVideoControlBar(configurableVideoPlayer:
ConfigurableVideoPlayer)
:
voidInstance Methods
Defined in com.google.ads.studio.video:ConfigurableVideoControlBar
addFullScreenButton()
:
ConfigurableVideoControlBarAdds a full screen button, if one had not already been added.
addInvitationOverlay()
:
ConfigurableVideoControlBarAdds an invitation overlay, if one had not already been added.
addPlayButton()
:
ConfigurableVideoControlBarAdds a play/pause button, if one had not already been added.
addReplayButton()
:
ConfigurableVideoControlBarAdds a replay button, if one had not already been added.
addScrubber()
:
ConfigurableVideoControlBarAdds a video scrubber, if one had not already been added.
addSoundToggleButton()
:
ConfigurableVideoControlBarAdds a sound toggle button, if one had not already been added.
addStopButton()
:
ConfigurableVideoControlBarAdds a stop button, if one had not already been added.
getColor()
:
uintGets the color of this control.
getStyle()
:
StringGets the style of this control.
setColorAndStyle(color:uint, style:String)
:
voidSets the color and the style of this control.
unload()
:
voidUnloads the control bar for cleanup.
updateDisplay()
:
voidUpdates the display of the player controls.
