Commit bdc4e130 by 杨昕

预览视频

parent 99bded47
Pipeline #13714 passed with stages
in 41 seconds
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
@endif @endif
@if(isset($media["media_num"])) @if(isset($media["media_num"]))
<a title="视频预览" href="/web/video_preview/{{$media['_id']}}"> <a title="视频预览" href="javascript:;" onclick="preview_video(this,'{{$media["_id"]}}')">
<i class="iconfont">&#xe79f;</i> <i class="iconfont">&#xe79f;</i>
</a> </a>
@else @else
...@@ -292,6 +292,16 @@ ...@@ -292,6 +292,16 @@
}); });
} }
/**
* 视频预览
* @param row
* @param id
*/
function preview_video(row,id){
var href = "/web/video_preview/"+id;
window.open(href);
}
// updateConfig(1); // updateConfig(1);
$('#endDate').bind("onclickOnce",function () { $('#endDate').bind("onclickOnce",function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment