Merge branch 'master' into dev

This commit is contained in:
calzoneman 2013-07-01 17:44:27 -04:00
commit 0611a6b0a6
6 changed files with 37 additions and 6 deletions

View file

@ -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({