实例:
DPlayerOptions.push({
"id": "dce29f8946b1a1effe966d14fb42d988",
"hotkey": true,
"screenshot": false,
"loop": false,
"autoplay": false,
"theme": "#FADFA3",
"lang": "zh",
"preload": "none",
"video": {
"url": "https://kongkong-1253476014.cos.ap-shanghai.myqcloud.com/video/jljt-01.mp4",
"pic": "https://kongkong-1253476014.cos.ap-shanghai.myqcloud.com/video/jljt-01-poster.png",
"type": "auto"
},
"danmaku": null
});
DPlayerOptions.push({
"id": "d3e806c399721f0a0b80e7e97f1aac10",
"hotkey": true,
"screenshot": false,
"loop": false,
"autoplay": false,
"theme": "#FADFA3",
"lang": "zh",
"preload": "none",
"video": {
"url": "https://kongkong-1253476014.cos.ap-shanghai.myqcloud.com/video/Taylor%20Swift-Shake%20It%20Off(%E8%93%9D%E5%85%89).mp4",
"type": "auto"
},
"danmaku": null
});
APlayerOptions.push({
"id": "cfcd208495d565ef66e7dff9f98764da",
"narrow": false,
"autoplay": false,
"mutex": true,
"theme": "#7addeb",
"mode": "random",
"preload": "auto",
"listmaxheight": "513px",
"music": [
{
"title": "積み木の人形 (rnb mix by とくP feat. ぱごだ)",
"author": "wowaka / とくP / ぱごだ",
"url": "https://api.fghrsh.net/music/aplayer_music_api/?id=22699105.mp3",
"pic": "https://api.fghrsh.net/music/aplayer_music_api/?id=22699105.jpg",
"lrc": "https://api.fghrsh.net/music/aplayer_music_api/?id=22699105.lrc2"
}
],
"showlrc": 0
});
还没有评论,来说两句吧...