 __playerTracklist = []
 
 spinner_cover = null
+
+isBusyBuffering = 0
 
 PlayNext = (artist, title, success) ->
   $.each __playerTracklist, (i, track) ->

playerContainer
  .find('.info .track-info .action .play, .info .track-info .action .pause')
  .click ->
    if $(@).hasClass('play')
      videojs('video_player').play()
    else
      videojs('video_player').pause()

videojs('video_player').ready ->
  @.on 'loadedmetadata', ->

                if __CurrentSelectedTrack == __LastSelectedTrack
                  videojs('video_player').src(stream_urls[itag]).play()
                  userTracking.event("Playback Info", "itag", itag).send()
                  isBusyBuffering = 0
                return false
      )

