更新 infowindow-view.js

This commit is contained in:
钟进 2020-07-06 05:47:19 +00:00
parent 732217ab68
commit 06e2ace3ee

View File

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