CKplayer 视频播放插件
HTML
写个div id 为videoPlayJS
(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); }