blob: 0c673cc4284cc633565fd1d40c1ac789b1b8fa21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
import QtQuick.Window
import QtMultimedia
//! [complete]
Item {
MediaPlayer {
id: mediaplayer
source: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
videoOutput: [v1, v2]
audioOutput: AudioOutput {
}
}
VideoOutput {
id: v1
anchors.fill: parent
}
Window {
visible: true
width: 480; height: 320
VideoOutput {
id: v2
anchors.fill: parent
}
}
}
//! [complete]
|