This component designed for use with layouts is a invitation video overlay where the color and style are configurable. This usually sits on top of the video player and serves as a call to action.
Properties
Name | Type | Description | Default |
---|---|---|---|
color | uint | The color of the button. |
|
imageUrl | String | null | |
style | String | The style of the button. | round |
Events
Name | Type | Description |
---|---|---|
INIT | com.google.ads.studio.events.StudioEvent | Dispatched when a valid video player has been found. |
Constructors
Instance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
Object
isInitialized()
:
Boolean
Returns whether the component has initialized.
Defined in: com.google.ads.studio.video:AbstractVideoControl
getVideoPlayerSearchContainer()
:
DisplayObjectContainer
Gets the scope of where to begin our video player search.
setEnabled(enabled:Boolean)
:
void
Sets the enabled state of the video control.
componentButtonInstance.setEnabled(true); // componentButtonInstance.setEnabled(false);
setVideoPlayerSearchContainer(scope:flash.display:DisplayObjectContainer)
:
void
Sets the scope of where to begin our video player search.
Defined in com.google.ads.studio.video:ConfigurableVideoOverlay
getColor()
:
uint
Gets the color of this control.
getStyle()
:
String
Gets the style of this control.
setColorAndStyle(color:uint, style:String)
:
void
Sets the color and the style of this control.
setImageUrl(url:String)
:
void
Sets the url of the image to be used as the overlay.
updateDisplay()
:
void