A few fixes
This commit is contained in:
parent
ad30e3a805
commit
5a4b18a1e7
|
@ -68,10 +68,10 @@ var YouTubePlayer = function (data) {
|
||||||
self.load = function (data) {
|
self.load = function (data) {
|
||||||
if(self.player && self.player.loadVideoById) {
|
if(self.player && self.player.loadVideoById) {
|
||||||
self.player.loadVideoById(data.id, data.currentTime);
|
self.player.loadVideoById(data.id, data.currentTime);
|
||||||
if(VIDEOQUALITY) {
|
if (USEROPTS.default_quality) {
|
||||||
self.player.setPlaybackQuality(VIDEOQUALITY);
|
self.player.setPlaybackQuality(USEROPTS.default_quality);
|
||||||
// What's that? Another stupid hack for the HTML5 player?
|
// 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.videoId = data.id;
|
||||||
self.videoLength = data.seconds;
|
self.videoLength = data.seconds;
|
||||||
|
|
|
@ -1482,7 +1482,7 @@ function resizeStuff() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var h = parseInt(VHEIGHT) - 33;
|
var h = parseInt(VHEIGHT) - $("#chatline").outerHeight() - 1;
|
||||||
$("#messagebuffer").height(h);
|
$("#messagebuffer").height(h);
|
||||||
$("#userlist").height(h);
|
$("#userlist").height(h);
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#messagebuffer, #userlist {
|
#messagebuffer, #userlist {
|
||||||
height: 300px;
|
height: 329px;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
Loading…
Reference in a new issue