Video
Last updated
Last updated
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()
Next
Open next video
Actions editor:
Actions > Common > Next
Code:
widget.content.script.actionListForward()
Previous
Open previous video
Actions editor:
Actions > Common > Previous
Code:
widget.content.script.actionListBackward()
Item index
Open video by index
Actions editor:
Actions > Common > Item index
Code:
widget.content.script.actionItemIndex(int index)
Set video
Actions editor:
Actions > Common > Set video
Code:
widget.content.script.actionSetVideo(QString video)
Add video
Actions editor:
Actions > Common > Add video
Code:
widget.content.script.actionAddVideo(QString video)
Clear videos
Actions editor:
Actions > Common > Clear videos
Code:
widget.content.script.actionClearVideo()
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()
Next
Event when next video is displayed
Actions editor:
Event > Next
Code:
widget.content.script.eventListedForward()
Previous
Event when prev video is displayed
Actions editor:
Event > Previous
Code:
widget.content.script.eventListedBackward()
Item index
Event when current video is changed
Actions editor:
Event > Item index
Code:
widget.content.script.eventItemIndex()
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
Index
Index video
Actions editor:
Property > Video > Index
Code:
widget.content.itemIndex
int