更新 infowindow-view.js

This commit is contained in:
钟进 2020-07-06 06:40:57 +00:00
parent bfc22ec28a
commit 1581942e13

View File

@ -11,6 +11,7 @@ var ESC_KEY = 27;
var Hls = require('hls.js'); var Hls = require('hls.js');
/** /**
* Usage: * Usage:
* var infowindow = new Infowindow({ * var infowindow = new Infowindow({
@ -643,7 +644,7 @@ var Infowindow = View.extend({
var video = document.getElementById('hls-video'); 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'); var video = document.getElementById('hls-video');
video.pause(); // if (video.played) video.pause();
}, },
_updateAndAdjustPan: function () { _updateAndAdjustPan: function () {