|
|
|
@ -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 () {
|
|
|
|
|