更新 infowindow-view.js
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -670,7 +674,10 @@ var Infowindow = View.extend({
|
|||||||
hide: function (force) {
|
hide: function (force) {
|
||||||
$(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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user