   youtube_url      = "http://gdata.youtube.com/feeds/api/videos?q=<%= code %>&format=5&max-results=1&v=2&alt=jsonc"
 
   YTPlayer = ''
-
+  STARTED_PLAYBACK = false;
 
   # this is implicitly returned by coffee-script.
   self = {

          html = template tdata
          $ul.append html

          self.start_playback() if num is 0

    fill_output: ($target, urls) ->
      $target.val urls.join "\n"

      $li.parent().find(".playing").addClass "disabled"
      $li.siblings().removeClass "playing"
      $li.addClass "playing"
      STARTED_PLAYBACK = true;

    start_playback: ->
      start  = self.get_playing($b_list) + 1
