时间:2021-01-04 22:38:59作者:网站建设工程师来源:帮做网络浏览量:0
导 读:帝国cms调用网络视频播放地址的方法: 1、在内容模板中获取一个播放地址可以用(单集): 1 2 3 4 ?php $rr = explode (egetzy( rn ), $navinfor [onlinepath]); $fr = explode ( :::::: , $rr [0]); ? 共?=count($rr)?集 第?=$fr[0]?集 视频播放地址:?=$fr[1]? 2、在内容模板中获取多个播放地址可以用(多集): 1 2 3 4 5 6 7 8 9 10 11 ?php $rr = explode (egetzy( rn ), $navinfor [onlinepath]); $rcount = count ( $rr ); for ( $pathi =0; $pathi $rcount ; $pathi ++) { $fr = explode ( :::::: , $rr [ $pathi ]); ? a href= [!--news.url--]e/DownSys/play/?classid=[!--classid--]id=[!--id--]pathid=?=$pathi? target= iFrame1 class = lBtn ?= $fr [0]?/a ?php } ? 推荐:帝国cms建站教程 以上就是帝国cms怎么调用网络视频播放地址的详细
帝国cms调用网络视频播放地址的方法:
1、在内容模板中获取一个播放地址可以用(单集):
1
2
3
4
|
<?php
$rr = explode (egetzy( 'rn' ), $navinfor [onlinepath]);
$fr = explode ( '::::::' , $rr [0]);
?>
|
共<?=count($rr)?>集
第<?=$fr[0]?>集
视频播放地址:<?=$fr[1]?>
2、在内容模板中获取多个播放地址可以用(多集):
1
2
3
4
5
6
7
8
9
10
11
|
<?php
$rr = explode (egetzy( 'rn' ), $navinfor [onlinepath]);
$rcount = count ( $rr );
for ( $pathi =0; $pathi < $rcount ; $pathi ++)
{
$fr = explode ( '::::::' , $rr [ $pathi ]);
?>
<a href= "[!--news.url--]e/DownSys/play/?classid=[!--classid--]&id=[!--id--]&pathid=<?=$pathi?>" target= "iFrame1" class = "lBtn" ><?= $fr [0]?></a>
<?php
}
?>
|
推荐:帝国cms建站教程
以上就是帝国cms怎么调用网络视频播放地址的详细内容,更多请关注帮做网其它相关文章!
转载请注明出处:网站首页> 知识学堂 > 帝国CMS仿站 > 帝国cms怎么调用网络视频播放地址