From 453ef78d5d3b0ee710ec9fb688c3faf43f2d11f0 Mon Sep 17 00:00:00 2001 From: Darlingnotin Date: Sat, 17 Oct 2020 15:20:26 -0400 Subject: [PATCH] Update videoSync.html --- videoSync.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/videoSync.html b/videoSync.html index 868db2f..71646fb 100644 --- a/videoSync.html +++ b/videoSync.html @@ -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 @@ - \ No newline at end of file +