Tweak: remove file input and move guests out from stage in the start

This commit is contained in:
Dejvino
2025-11-21 23:55:16 +01:00
parent 34a35a69d7
commit 383ba8baf1
3 changed files with 1 additions and 24 deletions
-9
View File
@@ -47,15 +47,6 @@ export function init() {
// 9. Event Listeners
window.addEventListener('resize', onWindowResize, false);
state.fileInput.addEventListener('change', loadVideoFile);
// Button logic
state.loadTapeButton.addEventListener('click', () => {
state.fileInput.click();
});
// Auto-advance to the next video when the current one finishes.
state.videoElement.addEventListener('ended', playNextVideo);
// Start the animation loop
animate();