     max = @model.timeTotal()
 
     # TODO: add rangeslider functionality
-    @$('.time-slider').rangeslider(
+    @$('.time-slider').rangeslider
       min: 0
       max: max
       range: true

    end = @model.timeEnd() ? @model.timeTotal()

    # if current playback is behind the start time, seek to start
    @seek(start) if now < start

    # if current playback is after the end time, pause or loop. when looping,
    # set `restarting` flag to avoid decrementing the loop count multiple

    @$el.empty()

    # TODO: this embedding method primarily does not work
    @$el.append "<embed src='#{@model.get 'link'}'/>"

    # stop ticking, in case we had been playing and this is a re-render.
    @timer.stopTick()
