A few fixes

This commit is contained in:
calzoneman 2014-02-15 12:43:10 -06:00
parent ad30e3a805
commit 5a4b18a1e7
3 changed files with 5 additions and 5 deletions

View File

@ -68,10 +68,10 @@ var YouTubePlayer = function (data) {
self.load = function (data) {
if(self.player && self.player.loadVideoById) {
self.player.loadVideoById(data.id, data.currentTime);
if(VIDEOQUALITY) {
self.player.setPlaybackQuality(VIDEOQUALITY);
if (USEROPTS.default_quality) {
self.player.setPlaybackQuality(USEROPTS.default_quality);
// What's that? Another stupid hack for the HTML5 player?
self.player.setPlaybackQuality(VIDEOQUALITY);
self.player.setPlaybackQuality(USEROPTS.default_quality);
}
self.videoId = data.id;
self.videoLength = data.seconds;

View File

@ -1482,7 +1482,7 @@ function resizeStuff() {
return;
}
var h = parseInt(VHEIGHT) - 33;
var h = parseInt(VHEIGHT) - $("#chatline").outerHeight() - 1;
$("#messagebuffer").height(h);
$("#userlist").height(h);
}

View File

@ -38,7 +38,7 @@
}
#messagebuffer, #userlist {
height: 300px;
height: 329px;
overflow-x: hidden;
overflow-y: scroll;
margin-bottom: 0;