|
|
|
@ -26,25 +26,65 @@
@@ -26,25 +26,65 @@
|
|
|
|
|
</div><!-- /.container-fluid --> |
|
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
<div class="videoplayer"> |
|
|
|
|
<video |
|
|
|
|
data-id="<?php echo $viewData['videoId']; ?>" |
|
|
|
|
data-screenshot-start="<?php echo FSC::$app['config']['screenshot_start']; ?>" |
|
|
|
|
class="video-js vjs-big-play-centered vjs-fluid vjs-16-9" |
|
|
|
|
controls |
|
|
|
|
playsinline |
|
|
|
|
poster="" |
|
|
|
|
id="my-player"> |
|
|
|
|
<source src="<?php echo $viewData['videoUrl']; ?>" type="video/mp4"> |
|
|
|
|
</video> |
|
|
|
|
<div class="text-right mt-2 mr-1"> |
|
|
|
|
<button class="btn btn-default mr-1 btn-snapshot"> |
|
|
|
|
<img src="/img/beauty/video_dir.png" alt="download icon" width="20"> |
|
|
|
|
生成封面图 |
|
|
|
|
</button> |
|
|
|
|
<a class="btn btn-default" href="<?php echo $viewData['videoUrl']; ?>&download=1"> |
|
|
|
|
<img src="/img/download.png" alt="download icon" width="20"> |
|
|
|
|
下载视频 |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col col-md-9"> |
|
|
|
|
<div class="videoplayer"> |
|
|
|
|
<video |
|
|
|
|
data-id="<?php echo $viewData['videoId']; ?>" |
|
|
|
|
data-screenshot-start="<?php echo FSC::$app['config']['screenshot_start']; ?>" |
|
|
|
|
class="video-js vjs-big-play-centered vjs-fluid vjs-16-9" |
|
|
|
|
controls |
|
|
|
|
playsinline |
|
|
|
|
poster="" |
|
|
|
|
id="my-player"> |
|
|
|
|
<source src="<?php echo $viewData['videoUrl']; ?>" type="video/mp4"> |
|
|
|
|
</video> |
|
|
|
|
<div class="text-right mt-2 mr-1"> |
|
|
|
|
<button class="btn btn-default mr-1 btn-snapshot"> |
|
|
|
|
<img src="/img/beauty/video_dir.png" alt="download icon" width="20"> |
|
|
|
|
生成封面图 |
|
|
|
|
</button> |
|
|
|
|
<a class="btn btn-default" href="<?php echo $viewData['videoUrl']; ?>&download=1"> |
|
|
|
|
<img src="/img/download.png" alt="download icon" width="20"> |
|
|
|
|
下载视频 |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="col col-md-3 morevideos"> |
|
|
|
|
<hr class="visible-xs"> |
|
|
|
|
<div class="btn_autoplay"> |
|
|
|
|
自动播放 |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button class="btn btn-default btn-xs autoplay_disabled">关闭</button> |
|
|
|
|
<button class="btn btn-primary btn-xs autoplay_enabled">开启</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div |
|
|
|
|
data-id="<?php echo $viewData['videoId']; ?>" |
|
|
|
|
data-pid="<?php echo $viewData['cateId']; ?>" |
|
|
|
|
data-cid="<?php echo $viewData['cacheParentDataId']; ?>" |
|
|
|
|
data-page="<?php echo $viewData['page']; ?>" |
|
|
|
|
class="othervideos">其它视频</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<script type="text/template" id="template_video_item"> |
|
|
|
|
<div class="im_item col-xs-6 col-md-12"> |
|
|
|
|
<a href="{videoUrl}" class="bor_radius" title="{title}"> |
|
|
|
|
<img src="/img/beauty/video_snap.jpg" class="bor_radius im_img video-poster" id="poster_{videoId}" |
|
|
|
|
data-video-id="{videoId}" |
|
|
|
|
data-video-url="{videoPath}" |
|
|
|
|
alt=""> |
|
|
|
|
<div class="im_img_title"> |
|
|
|
|
<span class="right-bottom"> |
|
|
|
|
{title} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<img src="/img/video-play.svg" class="playbtn hide" alt="video play button"> |
|
|
|
|
<span class="duration">00:00:00</span> |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
</script> |
|
|
|
|