解决yycms影视综艺不能播放的问题

这个我也是用了一些时间,才解决的,符号的问题!

1、先找到templets/yycms/play.php
2、查找#cms_player
3、找到以下代码

$("#cms_player").html('<iframe id="video" src="<?php if ($Prefix==$dyPrefix) {echo"$yycms_a_mrjx$c[0]";$furl = $c[0];}else{if($Prefix==$dsjPrefix||$Prefix==$dmPrefix){echo "$yycms_a_mrjx$b[0]";$furl = $b[0];}else{echo"$yycms_a_mrjx$zyvi[1]";$furl = $zyvi[1];}}?>" style="width:100%;border:none" allowtransparency="true" allowfullscreen="true" frameborder="0" scrolling="no"></iframe><a style="display:none" id="videourlgo" href="<?php echo $furl;?>"></a>');

4、替换代码

<?php
    if ($Prefix==$dyPrefix) {
        $yycmsIfr = "$yycms_a_mrjx$c[0]";
        $furl = $c[0];
        $yyIframe = '$("#cms_player").html(\'<iframe id="video" src="'.$yycmsIfr.'" style="width:100%;border:none" allowtransparency="true" allowfullscreen="true" frameborder="0" scrolling="no"></iframe><a style="display:none" id="videourlgo" href="'.$furl.'"></a>\')';
    }else{
        if($Prefix==$dsjPrefix||$Prefix==$dmPrefix){
            $yycmsIfr = "$yycms_a_mrjx$b[0]";
            $furl = $b[0];
            $yyIframe = '$("#cms_player").html(\'<iframe id="video" src="'.$yycmsIfr.'" style="width:100%;border:none" allowtransparency="true" allowfullscreen="true" frameborder="0" scrolling="no"></iframe><a style="display:none" id="videourlgo" href="'.$furl.'"></a>\')';
        }else{
            $yycmsIZy = "$yycms_a_mrjx$zyvi[1]";
            $furl = $zyvi[1];
            $yyIframe = "$('#cms_player').html(\"<iframe id='video' src='$yycmsIZy' style='width:100%;border:none' allowtransparency='true' allowfullscreen='true' frameborder='0' scrolling='no'></iframe><a style='display:none' id='videourlgo' href='$furl'></a>\")";
        }
    }
    echo $yyIframe;
?>
影视源码经验YYCMS修复综艺

我来吐槽

*

*

仅有 1 条评论

  1. sdfasdf

    好好好,不错!😄