请问,弹幕为什么没有插入
<script type="text/javascript">
var danmuss1 = {
10: [{
"text": "hahahaha",
"color": "red",
"size": "0",
"position": "0"
},
{
"text": "233333",
"color": "red",
"size": "0",
"position": "2"
}
],
30: [{
"text": "poi",
"color": "red",
"size": "1",
"position": "1"
},
{
"text": "2333",
"color": "#FFFFFF",
"size": "0",
"position": "0"
},
],
50: [{
"text": "XXX真好",
"color": "#FFFFFF",
"size": "0",
"position": "2"
}, ],
};
$("#danmup").danmuplayer({
src: "0.mp4", //视频源
height: 450, //播放器的高度
width: '100%', //播放器的宽度,最小宽度支持为720
speed: 20000, //弹幕速度,穿过视频的毫秒数
danmuss: danmuss1, //默认的danmuss对象
default_font_color: "#FFFFFF", //默认的弹幕颜色
font_size_small: 16, ////小号弹幕的字体大小,注意此属性值只能是整数
font_size_big: 28, //大号弹幕的字体大小
opacity: "1", //默认弹幕的透明度
top_botton_danmu_time: 6000, //底部及顶部弹幕存留的世界
url_to_get_danmu: "", //用来接收弹幕信息的url
url_to_post_danmu: "", //用来存储弹幕信息的url
});
</script>
回复