Commit 94313ef6 by Kyle Fiedler

Added some more styles for highlighting the current speed

--HG--
branch : kf-highlight-speed
parent 3778b734
......@@ -21,7 +21,7 @@
<li><a id="video_control" class="pause">Pause</a></li>
<li>
<div id="vidtime">0:00/0:00</div>
<div id="vidtime">0:00 / 0:00</div>
</li>
</ul>
......
......@@ -33,15 +33,15 @@ ajax_video=good;
loadNewVideo(streams["1.0"], ${ position });
function add_speed(key, stream) {
var id = 'speed_' + stream;
var id = 'speed_' + stream;
$("#video_speeds").append(' <li id="'+id+'">'+key+'x</li>');
$("#video_speeds").append(' <li id="'+id+'">'+key+'x</li>');
$("#"+id).click(function(){
change_video_speed(key, stream);
$(this).siblings().removeClass("active");
$(this).addClass("active");
});
$("#"+id).click(function(){
change_video_speed(key, stream);
$(this).siblings().removeClass("active");
$(this).addClass("active");
});
}
var l=[]
......
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