更新 infowindow-view.js
This commit is contained in:
parent
4e68966eb3
commit
5bb9532afc
@ -177,7 +177,7 @@ var Infowindow = View.extend({
|
||||
|
||||
// var $video = $('<video class="video-js CDB-infowindow-media-item" controls data-setup="{}" width="100%"> <source src="" </source></video>');
|
||||
|
||||
var $video = $('<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" 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"> \
|
||||
<source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4"></video>');
|
||||
|
||||
@ -185,6 +185,7 @@ var Infowindow = View.extend({
|
||||
|
||||
$video
|
||||
// .load(this._onLoadVideoSuccess)
|
||||
.load(this._stopCoverLoader)
|
||||
.error(this._onLoadVideoError)
|
||||
// .attr('src', url);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user