更新 infowindow-view.js
This commit is contained in:
parent
602b8b7872
commit
2e99b1060f
@ -175,11 +175,11 @@ var Infowindow = View.extend({
|
||||
|
||||
this._startCoverLoader();
|
||||
|
||||
var $img = $("<video class='video-js CDB-infowindow-media-item' > <source src='' </source></video>");
|
||||
$cover.append($img);
|
||||
var $video = $('<video class="video-js CDB-infowindow-media-item" controls data-setup="{}" width="100%"> <source src="" </source></video>');
|
||||
$cover.append($video);
|
||||
|
||||
$img
|
||||
.load(this._onLoadVideoSuccess)
|
||||
$video
|
||||
// .load(this._onLoadVideoSuccess)
|
||||
.error(this._onLoadImageError)
|
||||
.attr('src', url);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user