 
     now = @seekOffset()
     start = @model.timeStart() ? 0
-    end = (@model.timeEnd() ? @model.timeTotal()) or Infinity
+    end = @model.timeEnd() ? @model.timeTotal()
 
     # if current playback is behind the start time, seek to start
     @seek(start) if now < start

    # @setupSlider()

  setupSlider: =>
    max = @model.duration()

    # TODO: add rangeslider functionality
    @$('.time-slider').rangeslider(

  changeTimes: (data, options) =>
    options ?= {}
    offset = 10
    max = @model.timeTotal()

    bound = (val) -> Math.max(0, Math.min((val ? 0), max))

