Difference between revisions of "Videoplayer"

From Lianjapedia
Jump to: navigation, search
Line 10: Line 10:
 
!Value
 
!Value
 
!width="50%"|Description
 
!width="50%"|Description
 +
|-
 +
|Duration
 +
|
 +
|
 +
|
 +
|-
 +
|Position
 +
|
 +
|
 +
|Note that duration is not set until you load a video and start it.
 
|-
 
|-
 
|Url
 
|Url
Line 31: Line 41:
 
!Args
 
!Args
 
!width="50%"|Description
 
!width="50%"|Description
 +
|-
 +
|valign="top"|HideControls
 +
|valign="top"|
 +
|valign="top"|
 
|-
 
|-
 
|valign="top"|Pause
 
|valign="top"|Pause

Revision as of 05:16, 1 February 2016

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
Position Note that duration is not set until you load a video and start it.
Url Character URL source
Volumn

Methods

This class supports the Common Methods plus the following:

Method Args Description
HideControls
Pause
Play 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

Events

This class supports the Common Events plus the following:

Event Args Description