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

Forums

/

xml youtube playlist, please help me.

8 replies [Last post]

hello, what I need to do to make a very basic youtube playlist with only two youtube videos,

here is my basic code, whats wrong with this ? I dont want to configure a thumbnail, description or title, I just want to make a very basic youtube playlist with two tracks, is this correct ? o what I should to do ??? please help, I really need a hand.

<?xml version='1.0' encoding='UTF-8'?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
<trackList>
<track>
<location>http://www.youtube.com/watch?v=qbKqQfRxKPE</location>
</track>
<track>
<location>http://www.youtube.com/watch?v=0C32fSwdu0E</location>
</track>
</trackList>
</playlist>

Can you provide a link?

I dont have a link, I just first need to know to how to create the xlm file, I am using this codec that i posted but the player does not playing nothing. for that reason I think that my playlist code is wrong, please anybody ?, thanks friend.

oh my god!!! I got it!!! yeah! you are right Ethan, I was testing my player only in my hard drive without uploading them to my webpage, but now that I have uploaded them on my website, the player is working very well and my two videos were played fine without any problem!!! thanks a lot for told me that this xml code was looking fine. :)

Np!

Hi Is it possible to have a playlist that contains youtube vidoes and uploaded videos in a xml playlist at all?

i could get the flv locations from youtube but I would rather find another way so i can keep the terms and condition correct

@weedee - If you want to pass in uploads to your account as a playlist, use this as the file flashvar - http://gdata.youtube.com/feeds/api/users/your_username/uploads

If you want to make a playlist of specific youtube files, you can do it like this:

<?xml version='1.0' encoding='UTF-8'?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
  <trackList>

    <track>
      <location>http://www.youtube.com/watch?v=yMpQlXZz4VA</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>

      <location>http://www.youtube.com/watch?v=nTasT5h0LEg</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>
      <location>http://www.youtube.com/watch?v=JZAHl5_LTGQ</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>
      <location>http://www.youtube.com/watch?v=USXJrvIugEo</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>
      <location>http://www.youtube.com/watch?v=SUNmLuNdiL8</location>
  <image>images/nice-player-icon.png</image>

    </track>

<track>
      <location>http://www.youtube.com/watch?v=Wvo-g_JvURI</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>
      <location>http://www.youtube.com/watch?v=GhSTvPtBkMw</location>

  <image>images/nice-player-icon.png</image>
    </track>

<track>
      <location>http://www.youtube.com/watch?v=H6vAts9Udpk</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>

      <location>http://www.youtube.com/watch?v=MmJh5eqJMK0</location>
  <image>images/nice-player-icon.png</image>
    </track>

<track>
      <location>http://www.youtube.com/watch?v=Wvo-g_JvURI</location>
  <image>images/nice-player-icon.png</image>
    </track>

  </trackList>

</playlist>

thanks ethan I was stupid I got it working now I'm using a get thumbnail code to generate a location of the thumb nail as well.

I've got it so i have a self generateing playlist xml file
with the playlist sitting on a tabular system easy for people to swap play lists

when i have finished all the code I'll post a link so other pp can just copy all the code
for the player files but i can't put up the asp.net stuff though

on a sepertate note have you guy's had a chance to look at embed function in the viral player?

@weedee - np! Please post the code when you can, as it will help others in the LongTail Support Community :)

Regarding the Viral plugin, what about the embed function are you talking about?