This commit is contained in:
Calvin Montgomery 2013-08-05 00:51:28 -04:00
parent 15085fc6ae
commit b2900afb3b
1 changed files with 6 additions and 2 deletions

View File

@ -37,8 +37,12 @@ var CHANNEL = {
var PLAYER = false;
var VIDEOQUALITY = false;
var FLUIDLAYOUT = false;
var VWIDTH = $("#videowidth").css("width").replace("px", "");
var VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
var VWIDTH;
var VHEIGHT;
if($("#videowidth").length > 0) {
VWIDTH = $("#videowidth").css("width").replace("px", "");
VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
}
var MEDIA = { hash: "" };
var PL_MOVING = false;
var PL_ADDING = false;