Video

Property Function Type
Fill mode Sets video fill mode

Actions editor:
Property > Video > Fill mode
Code:
widget.content.fillMode
enum

Values:
Stretch
PreserveAspectFit
PreserveAspectCrop
Tile
TileVertically
TileHorizontally
Pad
Autoplay Start playback automatically

Actions editor:
Property > Video > Autoplay
Code:
widget.content.autoplay
bool
Loop Looping the playback

Actions editor:
Property > Video > Loop
Code:
widget.content.loop
bool
Muted Mute sound of video

Actions editor:
Property > Video > Muted
Code:
widget.content.muted
bool
File name Video file name

Actions editor:
Property > Video > File name
Code:
widget.content.videoFile
string

Actions

Property Function
Play Actions editor:
Actions > Common > Play
Code:
widget.content.script.actionPlay()
Stop Actions editor:
Actions > Common > Stop
Code:
widget.content.script.actionStop()
Pause Actions editor:
Actions > Common > Pause
Code:
widget.content.script.actionPause()

Events

Property Function
Play Event when playing started

Actions editor:
Event > Play
Code:
widget.content.script.eventPlay()
Stop Event when playing stopped

Actions editor:
Event > Stop
Code:
widget.content.script.eventStop()
Pause Event when playing paused

Actions editor:
Event > Pause
Code:
widget.content.script.eventPause()

results matching ""

    No results matching ""