VideoWindow contains the following public methods:
| Method | Description |
|---|---|
Show() |
Show (or Hide) the Video Player Window. |
Register() |
Register a ControlObject |
open_media_file() |
Open a media file for playback and reset media. |
Play() |
Start playback. |
Pause() |
Pause playback. |
Stop() |
Reset media, stop playback or pause mode, set seek to start. |
SetVideoStartPoint() |
Sets the Video Starting Point. |
GetVideoStartPoint() |
Gets the Video Starting Point. |
SetVideoEndPoint() |
Sets the Video End Point |
GetCurrentVideoPosition() |
Gets the Current Video Position |
SetCurrentVideoPosition() |
Sets the current Video Position |
GetPlayBackSpeed() |
Gets the playback speed |
SetPlayBackSpeed() |
Sets the playback speed |
UpdatePlayState() |
Take a PlayState Change from the Video Player and pass it on to the ControlObject. This is used in determining Screen Layout for Presentation Mode. |
UpdateVideoPosition() |
Take Video Position information from the Video Player and pass it on to the ControlObject. |
UpdateVideoWindowPosition() |
When the Video Window is updated, it should request that all other windows be repositioned accordingly by the ControlObject |
GetMediaLength() |
Get Media Length information from the Video Player. |
ClearVideo() |
Clear the display. |
GetDimensions() |
Returns the dimensions of the Video Window |
SetDims() |
No description |
close() |
Close the Video Frame |
ReadyState() |
Returns the "ReadyState" of the video control |
IsPlaying() |
Indicates whether the video is currently playing or not |
IsPaused() |
Indicates whether the video is currently paused or not |
IsStopped() |
Indicates whether the video is currently stopped or not |
IsLoading() |
Indicates whether the video is currently loading into the player |
VideoWindow contains the following public properties:
| Property | Description |
|---|---|
media_filename |
Name of the media file. |
media_loaded |
A boolean indicating whether media has been loaded. |
volume |
Volume for playback. |
mute |
A boolean indicating whether playback is muted. |
playback_rate |
Number indicating rate of playback, n for n-fast playback, -n for n-reverse playback. |
media_position |
Current media position. |