VideoDrawable
(
uri
,
height
,
options
)
- Parameters:
-
uri <string>
The URI to the video. -
height <float>
The height of the VideoDrawable, in SDUs. The height is set at creation time, width is calculated according to the aspect ratio of the video. -
options <object>
Setup-Parameters to customize additional object properties.
Accepted options-properties are- enabled
- horizontalAnchor
- verticalAnchor
- offsetX
- offsetY
- zOrder
- rotation
- scale
- opacity
- onClick
- onFinish
- roll
- tilt
- heading
- onLoaded
- onPlaybackStarted
- onFinishedPlaying
- onError
- isTransparent indicated that the VideoDrawables contains transparent pixels. See here for details.