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('rn'),$navinfor[onlinepath]); $fr=explode('::::::',$rr[0]); ?>
Total=count($rr)?>Episode
=$fr[0]?> Episode
Video playback address: =$fr[1]?>
2. It can be used to obtain multiple playback addresses in the content template (multiple episodes):
<?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 } ?>
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!