Home > CMS Tutorial > Empire CMS > How to call the online video playback address in Empire CMS

How to call the online video playback address in Empire CMS

Release: 2019-07-31 16:14:39
Original
3361 people have browsed it

How to call the online video playback address in Empire CMS

How Empire cms calls the network video playback address:

1. Get it in the content template A playback address can be used (single episode):

<?php    
$rr=explode(egetzy(&#39;rn&#39;),$navinfor[onlinepath]);    
$fr=explode(&#39;::::::&#39;,$rr[0]);    
?>
Copy after login

TotalEpisode

Episode

Video playback address:

2. It can be used to obtain multiple playback addresses in the content template (multiple episodes):

<?php
$rr=explode(egetzy(&#39;rn&#39;),$navinfor[onlinepath]);
$rcount=count($rr);
for($pathi=0;$pathi<$rcount;$pathi++)
{
$fr=explode(&#39;::::::&#39;,$rr[$pathi]);
?>
    <a href= "[!--news.url--]e/DownSys/play/?classid=[!--classid--]&id=[!--id--]&pathid=<?=$pathi?>" target= "iFrame1" class="lBtn"><?=$fr[0]?></a>
<?php
}
?>
Copy after login

Recommended: Empire cms website building tutorial

The above is the detailed content of How to call the online video playback address in Empire CMS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template