更新 infowindow-view.js

remotes/origin/master
钟进 4 years ago
parent 732217ab68
commit 06e2ace3ee

@ -641,6 +641,10 @@ var Infowindow = View.extend({
this.model.set('visibility', false); this.model.set('visibility', false);
} }
var video = document.getElementById('hls-video');
video.stop();
}, },
/** /**
@ -671,6 +675,9 @@ var Infowindow = View.extend({
$(document).off('keyup', this._onKeyUp); $(document).off('keyup', this._onKeyUp);
if (force || !this.model.get('visibility')) this._animateOut(); if (force || !this.model.get('visibility')) this._animateOut();
var video = document.getElementById('hls-video');
video.stop();
}, },
_updateAndAdjustPan: function () { _updateAndAdjustPan: function () {

Loading…
Cancel
Save