From 9c76899dd18f5bd729ba88ce5a621e6d04f3d1a8 Mon Sep 17 00:00:00 2001 From: 2weiEmu Date: Mon, 22 Jun 2026 14:14:09 +0200 Subject: [PATCH] updated: mime type, hopefully things work now? --- public/js/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index 740b9ce..2e89b53 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -7,6 +7,8 @@ function sleep(ms) { /** * SONG FILE LIST SECTION + * I think the issue here is that it takes forever to create 1000 elements worth of files, instead + * we should do that bit by bit, if the download still blocks for too long, we change that next. */ let songFileList = [] let innerSongFileList = document.getElementById("innerSongFileList") @@ -51,7 +53,7 @@ function NewSongFileElement(songFileName) { let audioSource = document.createElement("source") audioSource.src = "binb.sis50.nl/static/songs/" + songFileName // TODO: hardcoded - audioSource.type = "audio/m4a" + audioSource.type = "audio/mp4" audioPreview.appendChild(audioSource) -- 2.54.0