Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -1293,6 +1293,8 @@
|
|
1293 |
let lastVolume = 1;
|
1294 |
let currentPlaybackRate = 1;
|
1295 |
let isFullscreen = false;
|
|
|
|
|
1296 |
|
1297 |
async function enterPiP() {
|
1298 |
if (!document.pictureInPictureElement && !video.paused) {
|
@@ -1509,8 +1511,6 @@
|
|
1509 |
enablePlayerControls();
|
1510 |
|
1511 |
previewSection.style.display = 'block';
|
1512 |
-
let isCheckingSync = false;
|
1513 |
-
let isInBackgroundTab = false;
|
1514 |
|
1515 |
document.addEventListener('visibilitychange', async () => {
|
1516 |
if (document.hidden) {
|
|
|
1293 |
let lastVolume = 1;
|
1294 |
let currentPlaybackRate = 1;
|
1295 |
let isFullscreen = false;
|
1296 |
+
let isCheckingSync = false;
|
1297 |
+
let isInBackgroundTab = false;
|
1298 |
|
1299 |
async function enterPiP() {
|
1300 |
if (!document.pictureInPictureElement && !video.paused) {
|
|
|
1511 |
enablePlayerControls();
|
1512 |
|
1513 |
previewSection.style.display = 'block';
|
|
|
|
|
1514 |
|
1515 |
document.addEventListener('visibilitychange', async () => {
|
1516 |
if (document.hidden) {
|