调用腾讯视频播放器APi代码
发布时间:2018-05-18 00:10,
浏览次数:685
, 标签:
APi
转自:https://blog.csdn.net/boyit0/article/details/53125983
调用腾讯视频播放器APi代码
[html] view plain copy
* html>
*
*
*
*
调用腾讯视频播放器APi*
*
*
*
*
*
* var video = new tvp.VideoInfo();
* video.setVid("q0011iyvdam");//视频vid
* var player = new tvp.Player(750, 450);//视频高宽
* player.setCurVideo(video);
* player.addParam("autoplay","0");//是否自动播放,1为自动播放,0为不自动播放
* player.addParam("wmode","opaque");
* player.addParam("showend",0);
* player.addParam("adplay",0);
* player.addParam("wmode","transparent");
*
player.addParam("pic","http://ossweb-img.qq.com/images/roco/act/a20120925movie/video_pic.jpg");//默认图片地址
*
player.addParam("flashskin", "http://imgcache.qq.com/minivideo_v1/vd/res/skins/TencentPlayerMiniSkin.swf");//是否调用精简皮肤,不使用则删掉此行代码
* player.write("videoCon");
*
*
*
*