CKplayer 视频播放插件

HTML

写个div id 为videoPlay

JS

(function() {
        showvideo();
    })();
function showvideo() {
    var flashvars;
    var url = "http://url";
    flashvars = {
        f: '/jk/m3u8.swf',
        a: url, //此处填写购买获取到的视频播放地址
        c: 0,
        p: 1,
        s: 4,
        lv: 1
    };
    var params = { bgcolor: '#FFF', allowFullScreen: true, allowScriptAccess: 'always', wmode: 'transparent' };
    CKobject.embedSWF("/jk/ckplayer.swf", "videoPlay", "video", "100%", "100%", flashvars, params);
}

文件

下载

配置信息参考网址

参考网址
posted @ 2020-05-20 15:56  唯爱金生  阅读(237)  评论(0编辑  收藏  举报