2014-03-28 81 views
1

以下是我的代碼來創建一個JW播放器。理想情況下,如果我的播放列表包含多個元素,我應該能夠看到上一個和下一個按鈕。但由於某種原因,我無法看到按鈕。我錯過了什麼嗎?JWPlayer 6上一個和下一個按鈕沒有顯示

 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 
       } 
     }); 

回答

2

如果播放列表(列表欄)不可見,則只能看到上一個/下一個按鈕。

相關問題