[英]JWPlayer 6 prev and next buttons not shown
以下是我创建JW Player的代码。 理想情况下,如果我的播放列表包含多个元素,则应该可以看到上一个和下一个按钮。 但是由于某种原因,我看不到按钮。 我想念什么吗?
jwplayer(id_wrapper).setup({
playlist: [{
sources: [{
file: 'http://content.bitsontherun.com/videos/bkaovAYt-52qL9xLP.mp4',
height: 270,
},{
file: 'http://content.bitsontherun.com/videos/bkaovAYt-DZ7jSYgM.mp4',
height: 720
}],
title: "Big Buck Bunny",
description: "Big Buck Bunny is a short computer animated film by the Blender Institute.",
image: 'http://d3el35u4qe4frz.cloudfront.net/bkaovAYt-480.jpg'
},{
file: 'http://content.bitsontherun.com/videos/3XnJSIm4-I3ZmuSFT.m4a',
title: "Sintel (audio)",
description: "Sintel is a short computer animated film by the Blender Institute."
},{
file: 'http://content.bitsontherun.com/videos/kaUXWqTZ-52qL9xLP.mp4',
title: "Elephant's Dream",
description: "Big Buck Bunny is a short computer animated film by the Blender Institute.",
image: 'http://d3el35u4qe4frz.cloudfront.net/kaUXWqTZ-480.jpg'
}],
height : 360, //$(this).height() || '360',
width : 640, //$(this).width() || '100%',
listbar: {
position: "bottom",
size: 77
}
});
如果播放列表(列表栏)不可见,则您只会看到上一个/下一个按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.