MediaPlayer (gb.media)
This class implements a fully functional media player.
Propietats
Audio
|
Return a virtual object used for managing the audio part of the media player.
|
Balance
|
Return a virtual object that allows to manipulate the video balances (brightness, hue, saturation...).
|
Buffering
|
Return or set if buffering is enabled.
|
ConnectionSpeed
|
Return or set the network connection speed in kbps.
|
Input
|
Return or set the source control.
|
NextURL
|
Return or set the URL of the next media that will be played just after the current one.
|
ProgressiveDownload
|
Return or set if progressive download buffering is enabled.
|
Subtitles
|
Return a virtual object used for managing subtitles.
|
URL
|
Return or set the URI of the currently played media stream.
|
Video
|
Return a virtual object used for managing the media player video stream.
|
Inherited properties
Inherited methods
AddInput
|
Choose an input of a child control that will act as an input for the container.
|
AddOutput
|
Choose an output of a child control that will act as an output for the container.
|
Close
|
Close the pipeline, i.e. set its state and the state of all children to Null.
|
Forward
|
Move forward a specific number of frames.
|
GetLastImage
|
Return the last image displayed by a video output control.
|
GetLink
|
Return the description of an input or output from its name.
|
LinkLaterTo
|
Link the current control to the Target control as soon as a new output appears on it.
|
LinkTo
|
Link an output of the current MediaControl to the input of the Target MediaControl.
|
Pause
|
Pause the pipeline, i.e. set its state and the state of all children to Paused.
|
Play
|
Start playing, i.e. set the state of the pipeline and all its children to Playing.
|
Seek
|
Move the stream to a specific position, following the constraints defined by the specified flags.
|
SetWindow
|
This methods tells the MediaControl to draw its output inside a specific GUI control.
|
Stop
|
Stop the pipeline, i.e. set its state and the state of all its children to Ready.
|
Eventualitats
AudioChanged
|
This event is raised whenever the number or order of the audio streams has changed.
|
SubtitlesChanged
|
This event is raised whenever the number or order of the subtitles streams has changed.
|
VideoChanged
|
This event is raised whenever the number or order of the video streams has changed.
|
Inherited events
AboutToFinish
|
This event is raised when the current playing media is about to finish.
|
Buffering
|
This event is raised when the pipeline is buffering data.
|
Duration
|
Raised when the duration of a pipeline has changed.
|
End
|
Raised when the end of stream has been reached while playing.
|
Event
|
This event is raised when the Media object emits any internal event.
|
Message
|
Raised when a child control emits a message.
|
Position
|
This event is raised when the stream position changes.
|
Progress
|
This event is raised while the media is played, and until it is stopped.
|
Start
|
This event is raised when a new media starts playing.
|
State
|
This event is raised when the state of the control has changed.
|
Tag
|
Raised when some tags have been found.
|