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