标签 jwplayer 下的文章

飞飞影视系统2.x整合jwplayer

编辑 /Lib/Conf/config.php 文件,找到

'play_player' =>array ( 

在最后一行插入:

'jwplayer'=> array('01','jwplayer')

然后在 /Public/player2.9 目录下新建 jwplayer.js 内容如下:

function $Showhtml(){
return '<iframe width="100%" height="'+Player.Height+'" src="/Public/player2.9/jwplayer.html" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>';
}
Player.Show();
if(Player.Second){
$('buffer').style.height = Player.Height-28;
$("buffer").style.display = "block";
setTimeout("Player.BufferHide();",Player.Second*1000);
}

- 阅读剩余部分 -