diff options
Diffstat (limited to 'src/imports/multimedia')
-rw-r--r-- | src/imports/multimedia/Video.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/imports/multimedia/Video.qml b/src/imports/multimedia/Video.qml index 70bd2ccf4..26dd12ca4 100644 --- a/src/imports/multimedia/Video.qml +++ b/src/imports/multimedia/Video.qml @@ -387,6 +387,21 @@ Item { property alias notifyInterval: player.notifyInterval /*! + \qmlproperty int Video::loops + + This property holds the number of times the media is played. A value of \c 0 or \c 1 means + the media will be played only once; set to \c MediaPlayer.Infinite to enable infinite looping. + + The value can be changed while the media is playing, in which case it will update + the remaining loops to the new value. + + The default is \c 1. + + \since 5.9 + */ + property alias loops: player.loops + + /*! \qmlsignal Video::paused() This signal is emitted when playback is paused. |