class com.google.ads.studio.video.PlayPauseButton
This component shows a pause button when the video is playing and a play button when the video is not playing.
Events
| Name | Type | Description |
|---|---|---|
INIT | com.google.ads.studio.events.StudioEvent | Dispatched when a valid video player has been found. |
Constructors
PlayPauseButton()
:
voidInstance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
ObjectisInitialized()
:
BooleanReturns whether the component has initialized.
Defined in: com.google.ads.studio.video:AbstractVideoControl
getVideoPlayerSearchContainer()
:
DisplayObjectContainerGets the scope of where to begin our video player search.
setEnabled(enabled:Boolean)
:
voidSets the enabled state of the video control.
componentButtonInstance.setEnabled(true);
// componentButtonInstance.setEnabled(false);
setVideoPlayerSearchContainer(scope:flash.display:DisplayObjectContainer)
:
voidSets the scope of where to begin our video player search.