]> git.example.dev Git - binbsis50-sm.git/commitdiff
updated: added type
author2weiEmu <saalbach.robert@outlook.de>
Fri, 19 Jun 2026 15:08:47 +0000 (17:08 +0200)
committer2weiEmu <saalbach.robert@outlook.de>
Fri, 19 Jun 2026 15:08:47 +0000 (17:08 +0200)
public/js/index.js

index f0c52c5d2cde0bf906487eab07a737e97703fb10..a5402cee8bc2913fe512827b63eb63d944ad0b58 100644 (file)
@@ -51,6 +51,7 @@ function NewSongFileElement(songFileName) {
 
        let audioSource = document.createElement("source")
        audioSource.src = "binb.sis50.nl/songs/" + songFileName // TODO: hardcoded
+       audioSource.type = "audio/m4a"
 
        audioPreview.appendChild(audioSource)