372 lines
16 KiB
HTML
372 lines
16 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="d0f117 container static">
|
||
<div class="cca2ff layout-box top-weizhi mb-xs-10 hidden-sm hidden-xs">
|
||
<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>
|
||
全集在线播放
|
||
</ol>
|
||
</nav>
|
||
</div>
|
||
|
||
<h1 class="view-title">
|
||
{site:replace code="VIDEO@GETVIDEOPLAY@H1"}
|
||
</h1>
|
||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOPLAY@TEXT"}</h4>
|
||
|
||
|
||
<div class="f46666 vod-play-box max clearfix">
|
||
<div class="c623cf col-md-wide-75 col-xs-1 p-xs-0 player-left mb-sm-0">
|
||
<div class="f068d9 player-tipss p-xs-10 text-center">正在播放:{$arrVideo.v_name}全集</div>
|
||
<div id="ewave_player" class="f42f9b m-xs-0">
|
||
<div id="dplayer" class="dplayer" muted=“muted” style="margin-top: 5px;"></div>
|
||
</div>
|
||
|
||
<div class="be7c98 details-tool clearfix">
|
||
<div class="c6ae48 user-bt pull-left">
|
||
<a rel="nofollow" class="fa43ba ewave_digg_link hidden-xs" href="javascript:void(0);"
|
||
data-id="89725" data-mid="1" data-type="up"><span class="f365f4 iconfont icon-ding"></span><span
|
||
class="e63fc1 digg_num">11</span></a>
|
||
<a rel="nofollow" class="bf6f6d ewave_digg_link hidden-xs" href="javascript:void(0);"
|
||
data-id="89725" data-mid="1" data-type="down"><span
|
||
class="d87240 iconfont icon-cai"></span><span class="c86e80 digg_num">95</span></a>
|
||
<a rel="nofollow" href="javascript:;"
|
||
onclick="copyToClipboard('http://www.xgcs8888.com/play/89725-2-1.html')">分享</a>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="ffe090 row static">
|
||
<div class="ef3ec6 col-md-wide-75 col-sm-wide-1 pt-xs-0 pr-xs-5 main-left">
|
||
<div class="c57f18 pannel-box p-xs-10 clearfix">
|
||
<div class="d55cc0 col-md-1 col-xs-1 p-xs-10">
|
||
<div class="d3a73b b-player__detail">
|
||
<h1 class="e3dad6 title">
|
||
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>{$arrVideo.v_name}
|
||
全集</a>
|
||
</h1>
|
||
<p class="eee86d data margin-0">
|
||
<span class="d33e6f text-muted">类型:</span>
|
||
<a
|
||
href='{site:vciurl parent_category="$arrVideo.v_parent_category" /}'>{$arrVideo.v_parent_category}</a>
|
||
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>
|
||
{$arrVideo.v_category}
|
||
</a>
|
||
<span class="e72b73 split-line"></span>
|
||
<span class="cb7cb1 text-muted">地区:</span>
|
||
{volist name='$arrVideo.v_area' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
<span class="d16899 split-line"></span>
|
||
<span class="d003e3 text-muted">年份:</span>
|
||
{volist name='$arrVideo.v_lang' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
</p>
|
||
</div>
|
||
<div class="c7909c clearfix">
|
||
<div><span class="e98043 text-muted">提醒:</span><span
|
||
style="color: #5ab46a;">{$arrVideo.v_remarks}</span></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="ab3c90 pannel-box clearfix">
|
||
<div class="b0d94d box-title"> <span class="bbbff1 title-lb"></span>
|
||
<h2>剧情介绍</h2>
|
||
</div>
|
||
<div class="ca7df5 col-md-1 col-sm-1 col-xs-1 detail-info">
|
||
<p class="cf2b48 txt-hidden one pointer v-description-centent">{$arrVideo.v_description|raw}</p>
|
||
<div class="eecdf1 text-center text-ccc slidedown pointer check-desc-btn" id="check-desc-btn"><span
|
||
class="fb1305 iconfont icon-down"></span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="d8330c pannel-box clearfix">
|
||
<div class="cfff79 box-title"> <span class="c51a40 title-lb"></span>
|
||
<h2>播放列表</h2>
|
||
</div>
|
||
|
||
<div class="b0484f details-play-title clearfix playlist-slide">
|
||
<ul class="afde5f details-play-nav clearfix">
|
||
<?php $keyLineGroup = 0;?>
|
||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||
<?php $keyLineGroup ++ ;?>
|
||
<li class='ed860e play-list-toggle play-group-head {eq name="$keyLineGroup" value="1"}active {/eq}'
|
||
id="line_head_{$strPlayGroupName}" onclick="checkLine('{$strPlayGroupName}')"
|
||
>
|
||
<a class="d6ceac gico wjm3u8">{$strPlayGroupName}</a>
|
||
</li>
|
||
{/foreach}
|
||
</ul>
|
||
</div>
|
||
<div class="d0d414 details-play-list clearfix p-sm-5 p-xs-5 tab-content">
|
||
<?php $keyLineGroup = 0;?>
|
||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||
<?php $keyLineGroup ++ ;?>
|
||
<ul class='a398d0 play-list fade-in clearfix play-group-list {eq name="$keyLineGroup" value="1"}active {/eq}' id="playlist_{$strPlayGroupName}">
|
||
<?php $keyLine = 1 ;?>
|
||
{volist name='$arrPlayUrlType' id='arrPlayUrl'}
|
||
<?php $keyLine ++ ;?>
|
||
<li class="aa7fdb col-lg-8 col-md-6 col-sm-5 col-xs-4 p-xs-5 ewave-width-auto {if $keyLine == $Request.route.intPlayIndex}active{/if}"
|
||
style="width:auto;max-width:100%;">
|
||
<a
|
||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$keyLine" /}'>{$arrPlayUrl.name}</a>
|
||
|
||
</li>
|
||
{/volist}
|
||
</ul>
|
||
{/foreach}
|
||
</div>
|
||
</div>
|
||
<div class="e46d16 pannel-box clearfix">
|
||
<div class="d12a41 box-title"> <span class="b30c2f title-lb"></span>
|
||
<h2>你可能还想看</h2>
|
||
</div>
|
||
<ul class="ee3aa8 img-list 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="3600"}
|
||
|
||
{include file="public/video-list-shu" start="0" col-md="5"/}
|
||
{/video:list}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="df6f01 col-md-wide-25 pt-xs-0 clearfix main-right hidden-sm hidden-xs"
|
||
style="position:sticky;top:-10px;">
|
||
<div class="a3adbe pannel-box clearfix">
|
||
<div class="b9accb box-title "><span class="e664a5 iconfont icon-remen"></span>
|
||
<h2>热播推荐</h2>
|
||
</div>
|
||
<ul class="e4a3c4 txt-list txt-list-hot p-xs-0">
|
||
{video:ranklist count="20"
|
||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||
sort_type="weekly"
|
||
d_key="key" d_val="Video" cache_life="3600"}
|
||
{include file="public/video-list-phb" start="11"/}
|
||
{/video:ranklist}
|
||
</ul>
|
||
</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 = ""
|
||
|
||
|
||
document.addEventListener('DOMContentLoaded', function () {
|
||
const trigger = document.querySelector('.check-desc-btn');
|
||
|
||
trigger.addEventListener('click', function () {
|
||
const parent = trigger.closest('.lvshicms-vodlist__box') || trigger.parentElement;
|
||
const description = parent.querySelector('p.v-description-centent');
|
||
if (description) {
|
||
description.classList.toggle('txt-hidden');
|
||
const icon = trigger.querySelector('.iconfont');
|
||
if (icon) {
|
||
icon.classList.toggle('icon-down');
|
||
icon.classList.toggle('icon-up');
|
||
}
|
||
trigger.setAttribute('aria-expanded', !description.classList.contains('txt-hidden'));
|
||
}
|
||
});
|
||
|
||
});
|
||
</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} |