联系官方销售客服
1835022288
028-61286886
在独立模块添加自定义字段视频字段,首页无法调用视频地址,无法显示,播放器是外部的
{list action=module module=news catid=7 num=1 more=1 order=inputtime_asc}
<div class="news-right">
<div class="news-title">在线视频
<a class="more" href="" title="">查看更多>></a>
</div>
<div class="video">
<video id="my-video" class="video-js" controls preload="auto" width="100%" height="300" poster="{dr_thumb($t.thumb)}" data-setup="{}">
<source src="{dr_get_file($t.zxsp.file)}" type="video/mp4">
<p class="vjs-no-js"> To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a> </p>
</video>
</div>
</div>
{/list}