- getAudioTrack
long getAudioTrack()
- getBufferingMsec
long getBufferingMsec()
- getBus
String getBus()
- getStream
Ref!VideoStream getStream()
- getStreamName
String getStreamName()
Returns the video stream's name.
- getStreamPosition
double getStreamPosition()
- getVideoTexture
Ref!Texture getVideoTexture()
Returns the current frame as a Texture.
- getVolume
double getVolume()
- getVolumeDb
double getVolumeDb()
- hasAutoplay
bool hasAutoplay()
- hasExpand
bool hasExpand()
- isPaused
bool isPaused()
- isPlaying
bool isPlaying()
Returns true if the video is playing.
- opAssign
VideoPlayer opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(VideoPlayer other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- play
void play()
Starts the video playback.
- setAudioTrack
void setAudioTrack(long track)
- setAutoplay
void setAutoplay(bool enabled)
- setBufferingMsec
void setBufferingMsec(long msec)
- setBus
void setBus(StringArg0 bus)
- setExpand
void setExpand(bool enable)
- setPaused
void setPaused(bool paused)
- setStream
void setStream(VideoStream stream)
- setStreamPosition
void setStreamPosition(double position)
- setVolume
void setVolume(double volume)
- setVolumeDb
void setVolumeDb(double db)
- stop
void stop()
Stops the video playback.
- audioTrack
long audioTrack [@property getter]
long audioTrack [@property setter]
The embedded audio track to play.
- autoplay
bool autoplay [@property getter]
bool autoplay [@property setter]
If true playback starts when the scene loads. Default value: false.
- bufferingMsec
long bufferingMsec [@property getter]
long bufferingMsec [@property setter]
Amount of time in milliseconds to store in buffer while playing.
- bus
String bus [@property setter]
Audio bus to use for sound playback.
- bus
String bus [@property getter]
Audio bus to use for sound playback.
- expand
bool expand [@property getter]
bool expand [@property setter]
If true the video scales to the control size. Default value: true.
- paused
bool paused [@property getter]
bool paused [@property setter]
If true the video is paused.
- stream
VideoStream stream [@property getter]
VideoStream stream [@property setter]
- streamPosition
double streamPosition [@property getter]
double streamPosition [@property setter]
The current position of the stream, in seconds.
- volume
double volume [@property getter]
double volume [@property setter]
Audio volume as a linear value.
- volumeDb
double volumeDb [@property getter]
double volumeDb [@property setter]
Control for playing video streams.
Control node for playing video streams. Supported formats are WebM and OGV Theora.