更新 infowindow-view.js

remotes/origin/master
钟进 4 years ago
parent fac4cb15e5
commit b223bd7a89

@ -189,8 +189,12 @@ var Infowindow = View.extend({
player = videojs('hls-video');
if (player) player.play();
if (player) {
alert("videojs found !");
player.play();
}
$video
.load(this._onLoadVideoSuccess)
.error(this._onLoadVideoError)
@ -637,8 +641,10 @@ var Infowindow = View.extend({
this.model.set('visibility', false);
}
if (player) player.dispose();
if (player) {
player.pause();
alert("videojs 暂停" );
}
},
/**

Loading…
Cancel
Save