有时候需要用到一种判断,就是电影模型中只有一个电址,那么直接在内容页就可以快速播放,不用再单独打开播放页了,这样的体验可能会更好些,方法如下:
<?php $_info = explode(egetzy('rn'),$navinfor['onlinepath']);?><?php if(count($_info) == 1){$_playurl= explode('::::::',$_info[0]);$_playurl = $_playurl[1];?> <div align="center" style="margin-top:20px;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="620" height="415"> <param name="movie" value="<?=$_playurl?>"> <param name="quality" value="high"> <embed src="<?= $_playurl?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="620" height="415"></embed> </object> </div><?php }?>
查看原内容