Difference between revisions of "Videoplayer"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 27: | Line 27: | ||
|valign="top"|Boolean | |valign="top"|Boolean | ||
|Display video in fullscreen mode. | |Display video in fullscreen mode. | ||
+ | |- | ||
+ | |PauseAtPosition | ||
+ | |RW | ||
+ | |Numeric | ||
+ | | | ||
|- | |- | ||
|Position | |Position | ||
Line 32: | Line 37: | ||
|Numeric | |Numeric | ||
|Head position. | |Head position. | ||
+ | |- | ||
+ | |Slider | ||
+ | |RW | ||
+ | | | ||
+ | | | ||
|- | |- | ||
|Url | |Url |
Revision as of 05:37, 29 September 2016
'Under Construction'
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
AspectRatio | RW | Numeric | IgnoreAspectRatio=0, KeepAspectRatio=1, KeepAspectRatioByExpanding=2. Default is 1. |
Duration | R | Numeric | Video duration in milliseconds. Note: duration is not set until you load a video and play it. |
Fullscreen | RW | Boolean | Display video in fullscreen mode. |
PauseAtPosition | RW | Numeric | |
Position | RW | Numeric | Head position. |
Slider | RW | ||
Url | RW | Character | URL source. Note: Call stop() for the current video before changing the url property. |
Volume | RW | Numeric | Volume as a percentage, default is 100. |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
GetPhoto | filename as Character | |
GetVideo | filename as Character | |
HideControls | None | Hide the video controls. |
HideOpen | None | Hide the 'Open...' button used to display the 'Open Video' file explorer when the video controls are displayed. |
Pause | None | Pause the video. |
Play | None | Play the video. Note: Videos will not play until additional codecs not provided in a standard Windows installation are installed. For example, source "K-Lite Mega Codec Pack" and install the codecs then videos should play. |
ShowControls | None | Show the video controls. |
ShowOpen | None | Show the 'Open...' button used to display the 'Open Video' file explorer when the video controls are displayed. |
StartCamera | ||
Stop | None | Stop the video. |
StopCamera |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|