jquery youtube playlist plugin problem
<p>I'm using geckonewmedia.com's youtube playlist jquery plugin. I have the player functioning almost perfectly. The way it is supposed to work is you make a unordered list with LI tags. In between the LI /LI you put a link to a youtube video. The script used the first video in the list as the initial video to play automatically. This works correctly when the list is vertical.</p>

<p>The problems started when i decided to display my list horizontally. I use float:left; on the LI tags to make them site next to each. </p>

<p>But now, for some reason, when the plugin selects a video from my unordered list as the initial video, it is selecting the last video instead of the first video.</p>

<p>The javascript that deals with the initial video looks like this:</p>

<pre><code>//load inital video
var firstVid = selector.children("li:first-child").addClass("currentvideo").children("a").attr("href");
 $("#"+options.holderId+"").html(play(youtubeid(firstVid)));
</code></pre>

<p>Does anything appear to wrong?  Does using float:left; for some reason create a weird order for unordered lists?  Is there another way I can select the first video?</p>

<p>IF i have a class hard coded on my LI tags, could that be the reason things aren't working here?
I'll try removing the "class" from li tags and see what happens.</p>

<p>Thanks in advance.</p>
