From: 2weiEmu Date: Mon, 22 Jun 2026 12:14:09 +0000 (+0200) Subject: updated: mime type, hopefully things work now? X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=binbsis50-sm.git updated: mime type, hopefully things work now? --- 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)