|
|
|
@ -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 暂停" );
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|