复制ckplay6.8文件内ckplayer文件到maccms/player文件夹里


blob.png

复制下面代码到 ckplayer文件夹下ckplayer.js   ——如果没ckplayer.js 建一个js文件 复制下面代码到文件里


MacPlayer.Html = '<embed src="'+SitePath+'ckplayer/ckplayer.swf" flashvars="f='+MacPlayer.PlayServer+MacPlayer.PlayUrl+'&my_url='+encodeURIComponent(window.location.href)+'" quality="high" width="100%" height="'+MacPlayer.Height+'" align="middle" allowScriptAccess="always" allowFullscreen="true" type="application/x-shockwave-flash"></embed>';

MacPlayer.Show();




推荐懒人一件安装包 点击下载一键安装包


加视频测试播放 

注意:视频文件必须是标准的mp4视频(h264+acc)

blob.png