diff --git a/src/qml/Component/Timeline/VideoDelegate.qml b/src/qml/Component/Timeline/VideoDelegate.qml index ecbda3250..688938baf 100644 --- a/src/qml/Component/Timeline/VideoDelegate.qml +++ b/src/qml/Component/Timeline/VideoDelegate.qml @@ -45,11 +45,6 @@ TimelineContainer { */ property bool playOnFinished: false - /** - * @brief Whether the video can be streamed. - */ - property bool supportStreaming: true - /** * @brief The maximum width of the image. */ @@ -175,18 +170,6 @@ TimelineContainer { } ] - onDurationChanged: { - if (!duration) { - root.supportStreaming = false; - } - } - - onErrorChanged: { - if (error != MediaPlayer.NoError) { - root.supportStreaming = false; - } - } - Image { id: mediaThumbnail anchors.fill: parent @@ -391,7 +374,7 @@ TimelineContainer { TapHandler { acceptedButtons: Qt.LeftButton - onTapped: if (root.supportStreaming || root.progressInfo.completed) { + onTapped: if (root.progressInfo.completed) { if (vid.playbackState == MediaPlayer.PlayingState) { vid.pause() } else {