projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial implementation of our own VideoPlayer declarative item
[harmattan/cameraplus]
/
qml
/
PostCaptureItem.qml
diff --git
a/qml/PostCaptureItem.qml
b/qml/PostCaptureItem.qml
index
af18fdb
..
6cd193e
100644
(file)
--- a/
qml/PostCaptureItem.qml
+++ b/
qml/PostCaptureItem.qml
@@
-35,7
+35,9
@@
Item {
function startPlayback() {
loader.source = Qt.resolvedUrl("VideoPlayerPage.qml")
loader.item.source = itemData.url
- loader.item.play()
+ if (!loader.item.play()) {
+ loader.source = ""
+ }
}
Loader {