Difference between revisions of "Videoplayer"

From Lianjapedia
Jump to: navigation, search
Line 14: Line 14:
 
|Duration
 
|Duration
 
|
 
|
|
+
|Note that duration is not set until you load a video and start it.
 
|
 
|
 
|-
 
|-
Line 20: Line 20:
 
|
 
|
 
|
 
|
|Note that duration is not set until you load a video and start it.
+
|
 
|-
 
|-
 
|Url
 
|Url
|
+
|RW
 
|Character
 
|Character
 
|URL source
 
|URL source
Line 44: Line 44:
 
|-
 
|-
 
|valign="top"|HideControls
 
|valign="top"|HideControls
|valign="top"|
+
|valign="top"|None
|valign="top"|
+
|valign="top"|Hide the video controls.
 +
|-
 +
|valign="top"|HideOpen
 +
|valign="top"|None
 +
|valign="top"|Hide the 'Open...' button used to display the 'Open Video' file explorer.
 
|-
 
|-
 
|valign="top"|Pause
 
|valign="top"|Pause
|valign="top"|
+
|valign="top"|None
|valign="top"|
+
|valign="top"|Pause the video.
 
|-
 
|-
 
|valign="top"|Play
 
|valign="top"|Play
|valign="top"|
+
|valign="top"|None
|valign="top"|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. 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
|valign="top"|
+
|valign="top"|None
|valign="top"|
+
|valign="top"|Stop the video
 
|-
 
|-
 
|}
 
|}

Revision as of 07:31, 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 Note that duration is not set until you load a video and start it.
Position
Url RW Character URL source
Volumn

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