diff --git a/src/geo/ui/infowindow-view.js b/src/geo/ui/infowindow-view.js index 86db246..456e0f2 100644 --- a/src/geo/ui/infowindow-view.js +++ b/src/geo/ui/infowindow-view.js @@ -11,6 +11,7 @@ var ESC_KEY = 27; var Hls = require('hls.js'); + /** * Usage: * var infowindow = new Infowindow({ @@ -643,7 +644,7 @@ var Infowindow = View.extend({ var video = document.getElementById('hls-video'); - video.pause(); +// if (video.played) video.pause(); }, @@ -677,7 +678,7 @@ var Infowindow = View.extend({ var video = document.getElementById('hls-video'); - video.pause(); +// if (video.played) video.pause(); }, _updateAndAdjustPan: function () {