From b719f32cf38984971f3c5a11fac34f6d8c717c60 Mon Sep 17 00:00:00 2001 From: Darlingnotin Date: Sun, 4 Feb 2024 16:57:16 -0500 Subject: [PATCH] Update videoSync.html Added workaround for onclick in HTML not firing properly. --- videoSync.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/videoSync.html b/videoSync.html index 28898bf..60e0866 100644 --- a/videoSync.html +++ b/videoSync.html @@ -163,6 +163,8 @@ } else if (messageData.action == "videoEnd") { document.getElementById("video").src = ""; document.getElementById('video').poster = "assets/clickToWatch.png" + } else if (messageData.action == "firstClick") { + requestSync(); } }); @@ -181,4 +183,4 @@ - \ No newline at end of file +