if(Debug.debug) console.log("Loading: Resizer.js"); class Resizer { constructor(videoData) { this.conf = videoData; this.video = videoData.video; this.settings = videoData.settings; this.extensionMode = videoData.extensionMode; this.scaler = new Scaler(this.conf); this.stretcher = new Stretcher(this.conf); this.zoom = new Zoom(this.conf); // load up default values this.correctedVideoDimensions = {}; this.currentCss = {}; this.currentStyleString = ""; this.currentCssValidFor = {}; // restore watchdog. While true, applyCss() tries to re-apply new css until this value becomes false again // value becomes false when width and height of