...
|
...
|
@@ -63,7 +63,7 @@ |
|
|
<div class="mask" id="mask">
|
|
|
<div class="mask_video" >
|
|
|
<img id="nos" src="__TMPL__/public/assets/starImg/nos.png" alt="">
|
|
|
<video id="video2" src="{:cmf_get_file_download_url($res_djxq.video)}"></video>
|
|
|
<video autoplay="autoplay" controls id="video2" src="{:cmf_get_file_download_url($res_djxq.video)}" controlslist="nodownload"></video>
|
|
|
</div>
|
|
|
</div>
|
|
|
</notempty>
|
...
|
...
|
@@ -858,14 +858,14 @@ |
|
|
<script>
|
|
|
// 弹框视频
|
|
|
$('.mask').css('display','block');
|
|
|
var video2 = document.getElementById("video2"); //获取ID
|
|
|
console.log(video2);
|
|
|
$(function() {
|
|
|
if (video2.paused) { //判读是否播放
|
|
|
// video2.paused = false;
|
|
|
video2.play(); //没有就播放
|
|
|
}
|
|
|
});
|
|
|
// var video2 = document.getElementById("video2"); //获取ID
|
|
|
// console.log(video2);
|
|
|
// $(function() {
|
|
|
// if (video2.paused) { //判读是否播放
|
|
|
// // video2.paused = false;
|
|
|
// video2.play(); //没有就播放
|
|
|
// }
|
|
|
// });
|
|
|
var nos = document.getElementById("nos");
|
|
|
var mask = document.getElementById("mask");
|
|
|
|
...
|
...
|
|