Implement #189
This commit is contained in:
parent
e030a2bfa6
commit
543ec91e9b
3 changed files with 18 additions and 4 deletions
|
|
@ -190,6 +190,8 @@ $("#userpl_save").click(function() {
|
|||
var caret = btn.find(".caret").detach();
|
||||
btn.text($(select).text());
|
||||
caret.appendTo(btn);
|
||||
if(PLAYER.type == "yt" && PLAYER.player.setPlaybackQuality)
|
||||
PLAYER.player.setPlaybackQuality(VIDEOQUALITY);
|
||||
});
|
||||
}
|
||||
qualHandler("#quality_240p", "small");
|
||||
|
|
@ -199,6 +201,12 @@ $("#userpl_save").click(function() {
|
|||
qualHandler("#quality_1080p", "hd1080");
|
||||
})();
|
||||
|
||||
$("#mediarefresh").click(function() {
|
||||
PLAYER.type = "";
|
||||
PLAYER.id = "";
|
||||
socket.emit("playerReady");
|
||||
});
|
||||
|
||||
/* playlist controls */
|
||||
|
||||
$("#queue").sortable({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue