We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 836af8f commit b60ba49Copy full SHA for b60ba49
builder.html
@@ -269,7 +269,7 @@ <h3></h3>
269
const fileItem = epkFiles[selectedFile];
270
editorName.innerText = fileItem.name;
271
const lowerName = fileItem.name.toLowerCase();
272
- if (lowerName.endsWith('.mp3')) {
+ if (lowerName.endsWith('.mp3') || lowerName.endsWith('.ogg')) {
273
editor.className = 'modea';
274
editorAudio.src = window.URL.createObjectURL(fileItem.data);
275
} else if (lowerName.endsWith('.png')) {
@@ -327,4 +327,4 @@ <h3></h3>
327
};
328
</script>
329
</body>
330
-</html>
+</html>
0 commit comments