mp3 also works
This commit is contained in:
parent
5fb6e4807d
commit
5eb1e4d9c7
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue