Variables

read onlycontainer:Sprite

Provides access to the Video Object

height:Int

Get/Set access to the height of the video object

loop:Bool

Indicates whether the player should loop when video finishes

mute:Bool

Mutes/unmutes the video's audio.

pan:Float

Panning

read onlypaused:Bool

Indicates whether the video is paused

read onlyplaying:Bool

Indicates whether the video is playing

soundTransform:SoundTransform

Provides access to the SoundTransform of the video stream

source:String

The source, url, to the video file

read onlytime:Float

Returns the actual time of the netStream

volume:Float

Master volume/gain

width:Int

Get/Set access to the with of the video object

Methods

dispose():Void

Called if the player is no longer needed

pause():Void

Temporarily pause playback. Resume using play().

play():Void

Start playing (or resume if paused) the video.

seek(val:Float):Void

Seeks to a given time in the video, specified in seconds, with a precision of three decimal places (milliseconds).

stop():Void

Stop playback and reset playhead.