Stop video playback when we lose policy resources
[harmattan/cameraplus] / qml / VideoPlayerPage.qml
index c87e507..6820030 100644 (file)
@@ -36,6 +36,10 @@ Item {
         return video.play()
     }
 
+    function stop() {
+        return video.stop()
+    }
+
     MouseArea {
         anchors.top: parent.top
         anchors.bottom: toolBar.top