Skip to content
Amoh Gyebi Ampofo edited this page Apr 21, 2021 · 6 revisions

SVideo

import statement

import soloman 2.5

Basic Usage

SVideo {
    id: vid
}

Button {
    text: "Play"
    onClicked: vid.play("path/to/soccer.mp4")
}

Slots

play(filename)

filename can either be a folder, a video, or an image. In the case of either a folder or an image, SVideo will attempt to play as stills.

Properties

  • currentFrame [str]
  • aspectRation [bool]
  • tile [int]
  • tileEnumeration [READONLY | int]
Clone this wiki locally