Package | away3d.materials.utils |
Interface | public interface IVideoPlayer |
Implementors | SimpleVideoPlayer |
Property | Defined by | ||
---|---|---|---|
container : Sprite [read-only]
Provides access to the Video Object
| IVideoPlayer | ||
height : int
Get/Set access to the height of the video object
| IVideoPlayer | ||
loop : Boolean
Indicates whether the player should loop when video finishes
| IVideoPlayer | ||
mute : Boolean
Mutes/unmutes the video's audio.
| IVideoPlayer | ||
pan : Number
Panning
| IVideoPlayer | ||
paused : Boolean [read-only]
Indicates whether the video is paused
| IVideoPlayer | ||
playing : Boolean [read-only]
Indicates whether the video is playing
| IVideoPlayer | ||
soundTransform : SoundTransform
Provides access to the SoundTransform of the video stream
| IVideoPlayer | ||
source : String
The source, url, to the video file
| IVideoPlayer | ||
time : Number [read-only]
Returns the actual time of the netStream
| IVideoPlayer | ||
volume : Number
Master volume/gain
| IVideoPlayer | ||
width : int
Get/Set access to the with of the video object
| IVideoPlayer |
Method | Defined by | ||
---|---|---|---|
dispose():void
Called if the player is no longer needed
| IVideoPlayer | ||
pause():void
Temporarily pause playback.
| IVideoPlayer | ||
play():void
Start playing (or resume if paused) the video.
| IVideoPlayer | ||
seek(val:Number):void
Seeks to a given time in the video, specified in seconds, with a precision of three decimal places (milliseconds).
| IVideoPlayer | ||
stop():void
Stop playback and reset playhead.
| IVideoPlayer |
container | property |
container:Sprite
[read-only]Provides access to the Video Object
Implementation public function get container():Sprite
height | property |
height:int
[read-write]Get/Set access to the height of the video object
Implementation public function get height():int
public function set height(value:int):void
loop | property |
loop:Boolean
[read-write]Indicates whether the player should loop when video finishes
Implementation public function get loop():Boolean
public function set loop(value:Boolean):void
mute | property |
mute:Boolean
[read-write]Mutes/unmutes the video's audio.
Implementation public function get mute():Boolean
public function set mute(value:Boolean):void
pan | property |
pan:Number
[read-write]Panning
Implementation public function get pan():Number
public function set pan(value:Number):void
paused | property |
paused:Boolean
[read-only]Indicates whether the video is paused
Implementation public function get paused():Boolean
playing | property |
playing:Boolean
[read-only]Indicates whether the video is playing
Implementation public function get playing():Boolean
soundTransform | property |
soundTransform:SoundTransform
[read-write]Provides access to the SoundTransform of the video stream
Implementation public function get soundTransform():SoundTransform
public function set soundTransform(value:SoundTransform):void
source | property |
source:String
[read-write]The source, url, to the video file
Implementation public function get source():String
public function set source(value:String):void
time | property |
time:Number
[read-only]Returns the actual time of the netStream
Implementation public function get time():Number
volume | property |
volume:Number
[read-write]Master volume/gain
Implementation public function get volume():Number
public function set volume(value:Number):void
width | property |
width:int
[read-write]Get/Set access to the with of the video object
Implementation public function get width():int
public function set width(value:int):void
dispose | () | method |
public function dispose():void
Called if the player is no longer needed
pause | () | method |
public function pause():void
Temporarily pause playback. Resume using play().
play | () | method |
public function play():void
Start playing (or resume if paused) the video.
seek | () | method |
public function seek(val:Number):void
Seeks to a given time in the video, specified in seconds, with a precision of three decimal places (milliseconds).
Parametersval:Number |
stop | () | method |
public function stop():void
Stop playback and reset playhead.