分类 FeifeiCMS 下的文章

FeiFeiCMS按百分比显示评分星星图标

<span class="ratbar">
<span style="width:{$ppvod['vod_gold']*10}%;" class="ratbar-item">&nbsp;</span>
</span>
<strong class="ratbar-num">{$ppvod.vod_gold}</strong>

CSS

.ratbar{width:60px;height:12px;overflow:hidden;display:block;text-indent:-999px;float:left;margin:4px 5px 0 0;background:url(star-min.gif) 0 -20px no-repeat}
.ratbar-item{width:60px;height:12px;overflow:hidden;display:block;text-indent:-999px;float:left;background:url(star-min.gif) 0 0 no-repeat}
.ratbar-num{color:#f30;font-weight:normal}

star-min.gif

飞飞影视系统新整合播放器黑屏不提示下载

编辑 /Lib/Lib/Action/Admin/AdminAction.class.php 文件
找到

$pp_play.= 'var ff_bdhd="'.$config['play_bdhd'].'";'; 

在后面添加

$pp_play.= 'var ff_xigua="'.$config['play_xigua'].'";';
$pp_play.= 'var ff_xfplay="'.$config['play_xfplay'].'";';
$pp_play.= 'var ff_jjvod="'.$config['play_jjvod'].'";';

然后清空缓存,点击系统管理--网站信息配置--提交--搞定

飞飞影视系统2.x自定义播放页静态路径

1、找到 /Lib/Lib/Action/Admin/CreateAction.class.php 第361行

//路径替换与生成
$player_dir_ji = preg_replace('/play-([0-9]+)-([0-9]+)-([0-9]+)/i','play-$1-'.$arr_sid[1].'-'.($pid+1).'',$player_dir);

修改为:

//路径替换与生成
$player_dir_ji = preg_replace('/([0-9]+)-([0-9]+)/i',$arr_sid[1].'-'.($pid+1).'',$player_dir);

2、找到 /Lib/Common/common.php 第777行

//播放页静态生成结构
function ff_play_url_dir($id,$sid,$pid,$cid,$name){
    $playdir = str_replace_dir(C('url_play'),$id,$cid,$name);
    if(C('url_html_play') == 2){
        $playdir .= '-'.$id.'-'.$sid.'-'.$pid;
    }    
    return $playdir;
}

修改为:

- 阅读剩余部分 -

飞飞影视系统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);
}

- 阅读剩余部分 -