A few fixes
This commit is contained in:
parent
ad30e3a805
commit
5a4b18a1e7
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
}
|
||||
|
||||
#messagebuffer, #userlist {
|
||||
height: 300px;
|
||||
height: 329px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
margin-bottom: 0;
|
||||
|
|
Loading…
Reference in a new issue