Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Cannot get this youtube playlist to work

2 replies [Last post]
Reply

The player box comes up, as does a blank playlist line underneath, but no content.

<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'provider': 'youtube',
    'flashplayer': '/jwplayer/player.swf',
    'id': 'playerID',
    'width': '480',
    'height': '600',
    'file': 'http://www.youtube.com/playlist?list=PLB49F9805801D730F',
'playlist.position': 'bottom',
    'controlbar': 'bottom'
  });
</script>

Reply

link please?

Reply

Rewrite your playlist and remove the 'PL' using the code below.

http://gdata.youtube.com/feeds/api/playlists/

So using your example it would

http://gdata.youtube.com/feeds/api/playlists/B49F9805801D730F

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options