       $(document).on 'click', '[data-behavior~=audio_skip_backward]', (event) ->
         feedbin.audioJump(-30)
         event.stopPropagation()
-
 
     playPause: ->
       $(document).on 'click', '[data-behavior~=audio_play]', (event) ->

      minutes = Math.floor(duration / 60);
      durationElement.text("#{minutes} minutes")

  playTime: (entryId) ->
    if (entryId of feedbin.data.progress)
      progress = feedbin.data.progress[entryId]
      durationElement = $("[data-behavior~=audio_duration_#{entryId}]")
      left = progress.duration - progress.progress
      minutes = Math.ceil(left / 60);

      defaultAudioWidth: 'auto'
      defaultAudioHeight: '5px'
      success: (mediaElement, domObject) ->
        feedbin.nowPlayingData = $(domObject).data()

        if progress = feedbin.loadProgress(feedbin.nowPlayingData.entryId)
          mediaElement.setCurrentTime(progress.progress)

        mediaElement.addEventListener 'timeupdate', (e) ->
          if feedbin.hasDuration()
            feedbin.data.progress[feedbin.nowPlayingData.entryId] =
              progress: window.player.currentTime
              duration: window.player.duration
          feedbin.timeRemaining(feedbin.nowPlayingData.entryId)

        mediaElement.addEventListener 'seeked', _.throttle(feedbin.updateProgress, 1000, {leading: false})
        mediaElement.addEventListener 'timeupdate', _.throttle(feedbin.updateProgress, 5000, {leading: false})
