Difference between revisions of "Videoplayer"

From Lianjapedia
Jump to: navigation, search
Line 15: Line 15:
 
|R
 
|R
 
|Numeric
 
|Numeric
|Video duration in milliseconds. Note: duration is not set until you load a video and play it.
+
|Video duration in milliseconds.<br>Note: duration is not set until you load a video and play it.
 
|-
 
|-
 
|Position
 
|Position
Line 57: Line 57:
 
|valign="top"|Play
 
|valign="top"|Play
 
|valign="top"|None
 
|valign="top"|None
|valign="top"|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.
+
|valign="top"|Play the video.<br>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.
 
|-
 
|-
 
|valign="top"|Stop
 
|valign="top"|Stop

Revision as of 08:29, 22 August 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
Duration R Numeric Video duration in milliseconds.
Note: duration is not set until you load a video and play it.
Position RW Numeric Head position.
Url RW Character URL source.
Volume RW Numeric Volume as a percentage, default is 100.

Methods

This class supports the Common Methods plus the following:

Method Args Description
HideControls None Hide the video controls.
HideOpen None Hide the 'Open...' button used to display the 'Open Video' file explorer.
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.
Stop None Stop the video

Events

This class supports the Common Events plus the following:

Event Args Description