This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
; | |
(function main() { | |
let truePlayRate = 1.0; | |
let trueCurrentTime = NaN; | |
const speedList = [0.8, 1.0, 1.25, 1.5, 2.0]; | |
const isFrefox = navigator.userAgent.indexOf("Firefox") === -1 ? false : true; | |
const isEdge = navigator.userAgent.indexOf("EdgA") === -1 ? false : true; // yeah it's "EdgA" | |
let player; | |
const playerSize = { width: NaN, height: NaN }; |