Commit 570e9ee6 by Carlos Andrés Rocha

Fixed tooltip for slider bar.

parent 947d32c0
......@@ -125,7 +125,7 @@ class @MediaSliderControl extends @MediaControl
slide: @onSlide
stop: @onStop
@handle = @slider.find('.slider .ui-slider-handle')
@handle = @slider.find('.ui-slider-handle')
@handle.qtip
content: "#{Time.format(@slider.slider('value'))}"
position:
......@@ -148,6 +148,7 @@ class @MediaSliderControl extends @MediaControl
@media[0].currentTime = time
updateTooltip: (value)->
value = value / @_ssf
@handle.qtip('option', 'content.text', "#{Time.format(value)}")
onLoadedMetadata: =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment