更新 infowindow-view.js

This commit is contained in:
钟进 2020-06-13 15:14:41 +00:00
parent 365100b613
commit 09d4268fea

View File

@ -179,10 +179,12 @@ var Infowindow = View.extend({
var $video = $('<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="100%" height="264" \ var $video = $('<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="100%" height="264" \
poster="http://vjs.zencdn.net/v/oceans.png"> \ poster="http://vjs.zencdn.net/v/oceans.png"> \
<source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4"></video>'); <source src="http://video.hulian100.cn:9090/live/S105.m3u8" type="application/x-mpegURL"></video>');
$cover.append($video); $cover.append($video);
this._stopCoverLoader();
$video $video
.load(this._onLoadVideoSuccess) .load(this._onLoadVideoSuccess)
.error(this._onLoadVideoError) .error(this._onLoadVideoError)