n || p.msRequestFullscreen;
	fs.call(p);
}

function fullscreenOff(p) {
	var fsx = p.exitFullScreen || p.webkitExitFullScreen || p.mozExitFullScreen || p.oExitFullScreen || p.msExitFullScreen;
	fsx.call(p);
}

async function loadSubtitle(subUrl) {
		const url = new URL(subUrl);
		let src;
		if (url.pathname.toLowerCase().endsWith(".srt")) {
		try {
			const resp = await fetch(subUrl);
			if (!resp.ok) {
			throw new Error(`Failed to fetch subtitle from ${subUrl}!`);
			}
			const vtt = srtToVttBlob(await re