酷狗云音乐链接判断

By 你我知 at 2013-05-20 01:41:46 • 652次点击

//酷狗外贴播放器

if(strpos($text, 'cloud.kugou.com')){

$text = preg_replace('/http:\/\/cloud\.kugou\.com\/singlePlayer\/(.+?)\.swf/', '<embed src="http://cloud.kugou.com/singlePlayer/\1.swf" quality="high" width="590" height="492" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed>', $text);

}

音乐


登录 后发表评论