349 lines
14 KiB
HTML
349 lines
14 KiB
HTML
{extend name="base" /}
|
||
|
||
{block name="get-data"}
|
||
|
||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
|
||
|
||
{/block}
|
||
|
||
{block name="title"}
|
||
{site:replace code="VIDEO@GETVIDEOPLAY@TITLE" diff="$Request.route.intVId" /}
|
||
{/block}
|
||
|
||
{block name="keywords"}
|
||
{site:replace code="VIDEO@GETVIDEOPLAY@KEYWORDS" diff="$Request.route.intVId"}
|
||
{/block}
|
||
|
||
{block name="description"}
|
||
{site:replace code="VIDEO@GETVIDEOPLAY@DESCRIPTION" diff="$Request.route.intVId"}
|
||
{/block}
|
||
|
||
{block name="head"}
|
||
|
||
{// Open Graph 协议(用于Facebook、LinkedIn等)}
|
||
<meta property="og:title" content='{site:replace code="VIDEO@GETVIDEOINFO@TITLE"}'>
|
||
<meta property="og:description" content='{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION"}'>
|
||
{switch $arrVideo.v_parent_category_en }
|
||
{case 'dian-ying' }
|
||
<meta property="og:type" content="video.movie" />
|
||
{/case}
|
||
{case 'dian-shi-ju' }
|
||
<meta property="og:type" content="video.episode" />
|
||
{/case}
|
||
{case 'zong-yi' }
|
||
<meta property="og:type" content="video.tv_show" />
|
||
{/case}
|
||
{case 'dong-man' }
|
||
<meta property="og:type" content="video.episode" />
|
||
{/case}
|
||
{case 'duan-ju-da-quan' }
|
||
<meta property="og:type" content="video.episode" />
|
||
{/case}
|
||
{default /}
|
||
<meta property="og:type" content="video.movie" />
|
||
{/switch}
|
||
<meta property="og:url"
|
||
content='https://{$DomainModel->d_domain}{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>
|
||
<meta property="og:image" content="{$arrVideo.v_pic}">
|
||
<meta property="og:site_name" content="{$DomainModel->d_name}">
|
||
<meta property="og:video:type" content="video/m3u8">
|
||
|
||
{// Twitter Card(用于Twitter/X)}
|
||
<meta name="twitter:card" content="player">
|
||
<meta name="twitter:title" content='{site:replace code="VIDEO@GETVIDEOINFO@TITLE"}'>
|
||
<meta name="twitter:description" content='{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION"}'>
|
||
<meta name="twitter:image" content="{$arrVideo.v_pic}">
|
||
|
||
{// 结构化数据}
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "VideoObject",
|
||
"name": "{$arrVideo.v_name}",
|
||
"description": "{$arrVideo.v_description}",
|
||
"thumbnailUrl": "{$arrVideo.v_pic}",
|
||
"uploadDate": "{:date('Y-m-d')}",
|
||
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}',
|
||
|
||
"inLanguage": [
|
||
{volist name='$arrVideo.v_lang' id='strVideoLang' key='index'}
|
||
"{$strVideoLang}",
|
||
{/volist}
|
||
],
|
||
"contentLocation": [
|
||
{volist name='$arrVideo.v_area' id='strVideoArea' key='index'}
|
||
{
|
||
"@type": "Place",
|
||
"name": "{$strVideoArea}"
|
||
},
|
||
{/volist}
|
||
],
|
||
|
||
"director": [
|
||
{volist name='$arrVideo.v_director' id='strVideoDirector' key='index'}
|
||
{
|
||
"@type": "Person",
|
||
"name": "{$strVideoDirector}"
|
||
}
|
||
{/volist}
|
||
],
|
||
"actor": [
|
||
{volist name='$arrVideo.v_actor' id='strVideoActor' key='index'}
|
||
{
|
||
"@type": "Person",
|
||
"name": "{$strVideoActor}"
|
||
},
|
||
{/volist}
|
||
],
|
||
"aggregateRating": {
|
||
"@type": "AggregateRating",
|
||
"ratingValue": "{$arrVideo.v_score}",
|
||
},
|
||
"publisher": {
|
||
"@type": "Organization",
|
||
"name": "{$DomainModel->d_name}",
|
||
}
|
||
|
||
}
|
||
|
||
</script>
|
||
{/block}
|
||
|
||
{block name="head-css"}
|
||
<link rel="stylesheet" href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/dplayer/1.24.0/DPlayer.min.css">
|
||
<style type="text/css">
|
||
|
||
</style>
|
||
{/block}
|
||
|
||
|
||
{block name='body-class'}video-play-page{/block}
|
||
|
||
{block name="main"}
|
||
|
||
|
||
<div class="container">
|
||
|
||
<nav class="breadcrumb" aria-label="breadcrumb">
|
||
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||
<li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li>
|
||
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href="/" itemprop="item">
|
||
<span itemprop="name">首页</span>
|
||
</a>
|
||
<meta itemprop="position" content="1" />
|
||
</li>
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category_en" /}' itemprop="item">
|
||
<span itemprop="name">{$arrVideo.v_parent_category}</span>
|
||
</a>
|
||
<meta itemprop="position" content="2" />
|
||
</li>
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href='{site:vclurl parent_category="$arrVideo.v_parent_category_en" category="$arrVideo.v_parent_category_en" area="all" lang="all" year="all" order="all" page="1"/}'
|
||
itemprop="item">
|
||
<span itemprop="name">{$arrVideo.v_category}</span>
|
||
</a>
|
||
<meta itemprop="position" content="3" />
|
||
</li>
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}' itemprop="item">
|
||
<span itemprop="name">{$arrVideo.v_name}</span>
|
||
</a>
|
||
<meta itemprop="position" content="4" />
|
||
</li>
|
||
<li>
|
||
全集在线播放
|
||
</li>
|
||
|
||
</ol>
|
||
</nav>
|
||
|
||
<h1 class="view-title">
|
||
{site:replace code="VIDEO@GETVIDEOPLAY@H1"}
|
||
</h1>
|
||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOPLAY@TEXT"}</h4>
|
||
|
||
<div class="row">
|
||
<div class="col-lg-wide-75 col-xs-1 padding-0">
|
||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||
<div class="stui-pannel-box">
|
||
<div class="stui-pannel-bd">
|
||
<div class="stui-player col-pd">
|
||
<div class="dplayer-prent">
|
||
<div id="dplayer" class="dplayer" muted=“muted” style="margin-top: 5px;"></div>
|
||
</div>
|
||
<div class="stui-player__detail detail">
|
||
<ul class="more-btn">
|
||
|
||
</ul>
|
||
<h1 class="title">{$arrVideo.v_name}</h1>
|
||
<p class="data margin-0">
|
||
<span class="text-muted">类型:</span>
|
||
{$arrVideo.v_parent_category}
|
||
<span class="split-line"></span>
|
||
<span class="text-muted">地区:
|
||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
</span>
|
||
<span class="split-line"></span>
|
||
<span class="text-muted">年份:{$arrVideo.v_year}</span>
|
||
0
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||
<div class="stui-pannel-box b playlist mb">
|
||
<div class="stui-pannel_hd">
|
||
<div class="stui-pannel__head bottom-line active clearfix"><span
|
||
class="nore text-muted pull-right"></span>
|
||
<h3 class="title">{$strPlayGroupName}</h3>
|
||
</div>
|
||
</div>
|
||
<div class="stui-pannel_bd col-pd clearfix">
|
||
<ul class="stui-content__playlist clearfix">
|
||
<?php $intKey = 0 ;?>
|
||
{volist name='$arrPlayUrlType' id='arrPlayUrl'}
|
||
<?php $intKey ++ ;?>
|
||
<li class="{if $Request.route.intPlayIndex == $intKey}active{/if}">
|
||
<a href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
|
||
</li>
|
||
{/volist}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{/foreach}
|
||
|
||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||
<div class="stui-pannel-box">
|
||
<div class="stui-pannel_hd">
|
||
<div class="stui-pannel__head clearfix">
|
||
<h3 class="title"><img src="/template/videonunu/icon/icon_30.png">剧情介绍</h3>
|
||
</div>
|
||
</div>
|
||
<div class="stui-pannel_bd">
|
||
<div class="detail col-pd">
|
||
<span class="detail-sketch">
|
||
{$arrVideo.v_name}是一部评分{$arrVideo.v_score}的
|
||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category" /}'>{$arrVideo.v_parent_category}</a>
|
||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category" /}'>{$arrVideo.v_category}</a>
|
||
影视作品,影片的导演是
|
||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
,是由
|
||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
主演,
|
||
{$arrVideo.v_description|raw}
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||
<div class="stui-pannel-box">
|
||
<div class="stui-pannel_hd">
|
||
<div class="stui-pannel__head clearfix">
|
||
<h3 class="title"><img src="/template/videonunu/icon/icon_6.png">猜你喜欢</h3>
|
||
</div>
|
||
</div>
|
||
<div class="stui-pannel_bd">
|
||
<ul class="stui-vodlist__bd clearfix">
|
||
{video:list count="10"
|
||
v_category_en="$arrVideo.v_category_en"
|
||
v_lang_en="all"
|
||
v_area_en="all"
|
||
v_year="all"
|
||
sort_type="news"
|
||
d_key="d_key" d_val="Video" cache_life="86400"}
|
||
{include file="public/video-list-shu" start="0" col-md="5"/}
|
||
{/video:list}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-lg-wide-25 col-xs-1 stui-pannel-side visible-lg">
|
||
|
||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||
<div class="stui-pannel-box">
|
||
|
||
<div class="stui-pannel_bd">
|
||
<h3 class="title">
|
||
热播影视
|
||
</h3>
|
||
<ul class="stui-vodlist__rank col-pd clearfix">
|
||
{video:ranklist count="18"
|
||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||
sort_type="weekly"
|
||
d_key="key" d_val="Video" cache_life="86400"}
|
||
{include file="public/video-list-phb" start="11"/}
|
||
{/video:ranklist}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script>
|
||
const strMaxPlayHeight = '600px'
|
||
const strVideoId = `{$arrVideo.v_id}`;
|
||
const arrVideo = {
|
||
'v_id': `{$arrVideo['v_id']}`,
|
||
'v_name_en': `{$arrVideo['v_name_en']}`,
|
||
'v_pic': `{$arrVideo['v_pic']}`,
|
||
'v_name': `{$arrVideo['v_name']}`,
|
||
'v_description': `{$arrVideo['v_description']}`,
|
||
'v_publish_date': `{$arrVideo['v_publish_date']}`,
|
||
'v_remarks': `{$arrVideo['v_remarks']}`,
|
||
'v_category': `{$arrVideo['v_category']}`,
|
||
|
||
};
|
||
var intPlayUrlIndex = '{$Request.route.intPlayIndex}'
|
||
var strPlayType = '{$Request.route.strPlayType}'
|
||
var intJumpTimeFirst = 1;
|
||
var intJumpTimeTwoStart = 1;
|
||
var intJumpTimeTwoEnd = 1;
|
||
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
||
var strPlayUrl = ""
|
||
|
||
|
||
</script>
|
||
{/block}
|
||
|
||
{block name="customize"}
|
||
|
||
{/block}
|
||
|
||
|
||
{block name="footer-js"}
|
||
|
||
<script type="text/javascript"
|
||
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/hls.js/1.1.5-0.canary.8257/hls.min.js" defer></script>
|
||
<script type="text/javascript" src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/dplayer/1.26.0/DPlayer.min.js"
|
||
defer></script>
|
||
|
||
|
||
{/block} |