From af1d35fc3203f0e0f4a0522ef7f03518125c65f8 Mon Sep 17 00:00:00 2001 From: EspenVista <522581@vistacollege.nl> Date: Wed, 9 Apr 2025 10:16:49 +0100 Subject: [PATCH] updae --- index.html | 40 ---------------------------------------- script.js | 9 +++++++++ 2 files changed, 9 insertions(+), 40 deletions(-) diff --git a/index.html b/index.html index 8c3a336..a40a449 100644 --- a/index.html +++ b/index.html @@ -58,24 +58,6 @@ - - - - - - - - - - diff --git a/script.js b/script.js index 223c574..045deca 100644 --- a/script.js +++ b/script.js @@ -23,3 +23,12 @@ document.getElementById('ticketForm').addEventListener('submit', function (e) { alert('Ticket(s) successfully generated!'); }); + +function toggleVideo() { + const video = document.getElementById('myVideo'); + if (video.paused) { + video.play(); + } else { + video.pause(); + } + } \ No newline at end of file