mp3 also works

This commit is contained in:
j 2021-06-24 14:51:10 +01:00
parent 5fb6e4807d
commit 5eb1e4d9c7

View file

@ -161,7 +161,7 @@ Ox.load({
var path = data.files[0].name; var path = data.files[0].name;
var extension = Ox.last(path.toLowerCase().split('.')); var extension = Ox.last(path.toLowerCase().split('.'));
if (Ox.contains([ if (Ox.contains([
'oga', 'ogg', 'ogv', 'ogx', 'wav', 'webm', 'mp4', 'm4v' 'oga', 'ogg', 'ogv', 'ogx', 'wav', 'webm', 'mp4', 'm4v', 'mp3'
], extension)) { ], extension)) {
loadVideo(data.files[0]); loadVideo(data.files[0]);
} else { } else {