ultrawidify/js/run/GlobalVars.js
Tamius Han 44828b3ecf Tried to fix aspect ratio autodetection on netflix but ended up watching the entire Altered Carbon instead.
Just kidding, I also fixed the autodetection on netflix. And the bit where key for netflix in SitesConf.js was wrong.
2018-03-18 15:14:57 +01:00

44 lines
747 B
JavaScript

var GlobalVars = {
video: null,
player: null,
playerDimensions: null,
playerElement: null,
lastAr: null,
lastUrl: "",
currentCss: {
top: null,
left: null
},
canvas: {
context: null,
width: null,
height: null,
imageDataRowLength: null
},
correctedVideoDimensions: {
width: null,
height: null,
top: null,
left: null
},
arDetect: {
canvas: null,
blackLevel: 10,
sampleCols_current: 0,
noLetterboxCanvasReset: false,
guardLine: {
top: null,
bottom: null,
logo: {
detected: false,
top_left: null,
top_right: null,
bottom_left: null,
bottom_right: null
},
start: null,
end: null
}
}
}