1
0

Update videoSync.html

This commit is contained in:
Darlingnotin 2020-10-17 15:20:26 -04:00 committed by GitHub
parent b4caa4061c
commit 453ef78d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,9 @@
} else if (messageData.action == "volumeSlider") {
video = document.getElementById('video');
video.volume = parseFloat(messageData.volume);
} else if (messageData.action == "videoEnd") {
document.getElementById("video").src = "";
document.getElementById('video').poster = "assets/clickToWatch.png"
}
});
@ -178,4 +181,4 @@
</body>
</html>
</html>