Authored by 张帅

调整视频预览框宽高

... ... @@ -180,7 +180,7 @@
}else{
$("#imgTr").hide();
$("#videoTr").show();
var videoStr = '<video src="' + detailInfo.videoUrl + '" controls autoplay loop muted preload="auto" poster="' + detailInfo.coverImg + '" style="width:600px;">';
var videoStr = '<video src="' + detailInfo.videoUrl + '" controls autoplay loop muted preload="auto" poster="' + detailInfo.coverImg + '" style="width:600px;height:600px;">';
//var videoStr = '<video src="http://flv01.static.yhbimg.com/goodsvideo/2017/08/25/17/039b9ce839a967ee0352049ebe2484df21.mp4" controls autoplay loop muted preload="auto" poster="' + detailInfo.coverImg + '" >';
$("#videoDiv").html(videoStr);
}
... ...
... ... @@ -223,7 +223,7 @@
}else{
$("#imgTr").hide();
$("#videoTr").show();
var videoStr = '<video src="' + detailInfo.videoUrl + '" controls autoplay loop muted preload="auto" poster="' + detailInfo.coverImg + '" style="width:600px;">';
var videoStr = '<video src="' + detailInfo.videoUrl + '" controls autoplay loop muted preload="auto" poster="' + detailInfo.coverImg + '" style="width:600px;height:600px;">';
//var videoStr = '<video src="http://flv01.static.yhbimg.com/goodsvideo/2017/08/25/17/039b9ce839a967ee0352049ebe2484df21.mp4" controls autoplay loop muted preload="auto" poster="' + detailInfo.coverImg + '" >';
$("#videoDiv").html(videoStr);
... ...