Minor fixes for v2.2
- If NO_WEBSOCKETS or USEROPTS.altsocket are true, don't use websockets - Base resizing on an invisible div (some channels remove/hide #queue) - Names are properly italicized when AFK
This commit is contained in:
parent
20f0d1c316
commit
15085fc6ae
6 changed files with 11 additions and 9 deletions
|
|
@ -37,10 +37,8 @@ var CHANNEL = {
|
|||
var PLAYER = false;
|
||||
var VIDEOQUALITY = false;
|
||||
var FLUIDLAYOUT = false;
|
||||
if($("#ytapiplayer").length > 0) {
|
||||
var VWIDTH = $("#ytapiplayer").parent().css("width").replace("px", "");
|
||||
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
||||
}
|
||||
var VWIDTH = $("#videowidth").css("width").replace("px", "");
|
||||
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
|
||||
var MEDIA = { hash: "" };
|
||||
var PL_MOVING = false;
|
||||
var PL_ADDING = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue