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); }```

文件

下载
上一篇:android – 当改变屏幕方向时,视频不能同时播放


下一篇:html嵌入swf文件