1
0

Update videoSync.html

Added workaround for onclick in HTML not firing properly.
This commit is contained in:
Darlingnotin 2024-02-04 16:57:16 -05:00 committed by GitHub
parent 8dc7e00978
commit b719f32cf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 @@
</body>
</html>
</html>