酷播V4.05跨平台代码范例(最简版范例)

代码 qq1963558448 4297℃ 0评论

酷播V4.05跨平台代码范例(最简版范例)

<!– 酷播V4.05跨平台代码/开始 –>
<div class=”videoid=”CuPlayer“>
<script type=”text/javascript“>
<!–
var vID = “c1”; //vID
var vWidth = “100%”; //宽度设定,配合CSS实现
var vHeight = “100%”; //高度设定,配合CSS实现
var vFile = /player/CuSunV4set.php“; //配置文件地址:支持五种广告设定
var vPlayer = “/player/player.swf?v=4.0″; //播放器文件地址
var vPic = “/player/pic/pic01.jpg”; //视频缩略图
var vCssurlv = “/player/css/videos.min.css”; //CSS文件
var vAutoPlay = “yes”; //是否自动播放
var vEndTime = 0; //预览时间(秒数),默认为0
var vLogoPath = “/player/images/logo.png”; //Logo地址
var vPlayMod = 0; //播放模式优先级,默认=0,html5优先=1,flash优先=2
var vMp4url = “https://cloud.video.taobao.com/play/u/10654505/p/1/e/6/t/1/50032658929.mp4“;//视频文件地址推荐用mp4文件(h264编码)
//–>
</script>
<script class=”CuPlayerVideodata-mce-role=”CuPlayerVideotype=”text/javascriptsrc=”/player/js/player.min.js“></script>
</div>
<!– 酷播V4.05跨平台代码/结束 –>

/player/  六个是后加的。CuSunV4set.php  原程序里是CuSunV4set.xml

绿色视频地址,可以换成自己的

<!– 酷播V4.05跨平台代码/开始 –>
<div class=”videoid=”CuPlayer“>
<script type=”text/javascript“>
<!–
var vID = “c1”; //vID
var vWidth = “600”; //宽度设定,配合CSS实现
var vHeight = “400”; //高度设定,配合CSS实现
var vFile = “/player/CuSunV4set.php”; //配置文件地址:支持五种广告设定
var vPlayer = “/player/player.swf?v=4.0″; //播放器文件地址
var vPic = “/player/pic/pic01.jpg”; //视频缩略图
var vCssurl = “/player/css/videos.min.css”; //CSS文件
var vAutoPlay = “yes”; //是否自动播放
var vEndTime = 0; //预览时间(秒数),默认为0
var vLogoPath = “/player/images/logo.png”; //Logo地址
var vPlayMod = 0; //播放模式优先级,默认=0,html5优先=1,flash优先=2
var vMp4url = “https://cloud.video.taobao.com/play/u/10654505/p/1/e/6/t/1/50032658929.mp4”;//视频文件地址推荐用mp4文件(h264编码)
//–>
</script>
<script class=”CuPlayerVideodata-mce-role=”CuPlayerVideotype=”text/javascriptsrc=”/player/js/player.min.js“></script>
</div>
<!– 酷播V4.05跨平台代码/结束 –>

 

<!– 酷播V4.05跨平台代码/开始 –>
<div class=”videoid=”CuPlayer“>
<script type=”text/javascript“>
<!–
var vID = “c1”; //vID
var vWidth = “100%”; //宽度设定,配合CSS实现
var vHeight = “100%”; //高度设定,配合CSS实现
var vFile = “CuSunV4set.xml”; //配置文件地址:支持五种广告设定
var vPlayer = “player.swf?v=4.0”; //播放器文件地址
var vPic = “pic/pic01.jpg”; //视频缩略图
var vCssurlv = “css/videos.min.css”; //CSS文件
var vAutoPlay = “yes”; //是否自动播放
var vEndTime = 0; //预览时间(秒数),默认为0
var vLogoPath = “images/logo.png”; //Logo地址
var vPlayMod = 0; //播放模式优先级,默认=0,html5优先=1,flash优先=2
var vMp4url = “https://cloud.video.taobao.com/play/u/10654505/p/1/e/6/t/1/50032658929.mp4”;//视频文件地址推荐用mp4文件(h264编码)
//–>
</script>
<script class=”CuPlayerVideodata-mce-role=”CuPlayerVideotype=”text/javascriptsrc=”js/player.min.js“></script>
</div>
<!– 酷播V4.05跨平台代码/结束 –>


";//视频文件地址推荐用mp4文件(h264编码)
//-->

http://player.video.qiyi.com/88aea01972a3d7586e239e60f7eaaed9/0/0/w_19rx37k351.swf-albumId=14300547209-tvId=14300547209-isPurchase=0-cnId=21

//player.video.iqiyi.com/88aea01972a3d7586e239e60f7eaaed9/0/255/w_19rx37k351.swf-albumId=14300547209-tvId=14300547209-isPurchase=0-cnId=21

//player.video.iqiyi.com/88aea01972a3d7586e239e60f7eaaed9/0/255/w_19rx37k351.swf-albumId=14300547209-tvId=14300547209-isPurchase=0-cnId=21

//www.iqiyi.com/w_19rx37k351.html?share_sTime=0-share_eTime=255-src=sharemodclk131212

<embed src="//player.video.iqiyi.com/88aea01972a3d7586e239e60f7eaaed9/0/255/w_19rx37k351.swf-albumId=14300547209-tvId=14300547209-isPurchase=0-cnId=21" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>

转载请注明:杂记铺 » 酷播V4.05跨平台代码范例(最简版范例)

喜欢 (4)or分享 (0)