IT'S THE FINAL COUNTDOWN
This commit is contained in:
parent
1a3d92c903
commit
67dee59c3f
4 changed files with 42 additions and 4 deletions
|
|
@ -181,6 +181,24 @@ $("#userpl_save").click(function() {
|
|||
});
|
||||
});
|
||||
|
||||
/* video controls */
|
||||
(function() {
|
||||
function qualHandler(select, preset) {
|
||||
$(select).click(function() {
|
||||
VIDEOQUALITY = preset;
|
||||
var btn = $("#qualitywrap .btn.dropdown-toggle");
|
||||
var caret = btn.find(".caret").detach();
|
||||
btn.text($(select).text());
|
||||
caret.appendTo(btn);
|
||||
});
|
||||
}
|
||||
qualHandler("#quality_240p", "small");
|
||||
qualHandler("#quality_360p", "medium");
|
||||
qualHandler("#quality_480p", "large");
|
||||
qualHandler("#quality_720p", "hd720");
|
||||
qualHandler("#quality_1080p", "hd1080");
|
||||
})();
|
||||
|
||||
/* playlist controls */
|
||||
|
||||
$("#queue").sortable({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue