Youtube Playlist

  • Author
  • #824584


    First please forgive me if I have posted this in the wrong area. If I have please give me the right link and I will will post there.

    My question is. I bought a WordPress theme:

    On the slider you click and a youtube vide pops up. I would like it to be a youtube video with a playlist. There is a place in the admin to add a youtube URL I would like to add a playlist URL

    I asked the developer of the theme his answer was this: Documentation on the YouTube API –
    You need to retrieve the json of the playlist via php and feed it to header.php line 602 –

    This is what I found on line:
    line:602 ‘;
    line:603 }
    line:604 if($i==count($royale_s->mainitems[$k])-2){
    line:605 $sout.=’
    line:606 ‘;

    Because i’m very new with code I’m lost. I ask him to explain and for details but I have not gotten an answer. Can anyone please give me details or a sample as to what I’m supposes to do on line 602

    Thank you.

    The blog I need help with is



    The blog you specified at does not appear to be hosted at

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you’ll find help at the forums.

    If you don’t understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.



    We cannot help you here at with that site as it’s not being hosted by and we run on different software. This is the correct forum for your software http://wordpress.ORG/support/
    Best wishes with your site.

The topic ‘Youtube Playlist’ is closed to new replies.