mirror of
https://github.com/ayunami2000/ayunWebEPK.git
synced 2024-12-26 16:24:11 -08:00
h
This commit is contained in:
parent
836af8f4b8
commit
b60ba49f94
|
@ -269,7 +269,7 @@
|
|||
const fileItem = epkFiles[selectedFile];
|
||||
editorName.innerText = fileItem.name;
|
||||
const lowerName = fileItem.name.toLowerCase();
|
||||
if (lowerName.endsWith('.mp3')) {
|
||||
if (lowerName.endsWith('.mp3') || lowerName.endsWith('.ogg')) {
|
||||
editor.className = 'modea';
|
||||
editorAudio.src = window.URL.createObjectURL(fileItem.data);
|
||||
} else if (lowerName.endsWith('.png')) {
|
||||
|
@ -327,4 +327,4 @@
|
|||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user