Fixed OC-261 by modifying js files in apps/media/
This commit is contained in:
parent
7e7de25710
commit
bd262eaac0
|
@ -1,5 +1,5 @@
|
||||||
function musicTypeFromFile(file){
|
function musicTypeFromFile(file){
|
||||||
var extention=file.substr(file.indexOf('.')+1);
|
var extention=file.substr(file.indexOf('.')+1).toLowerCase();
|
||||||
if(extention=='ogg'){
|
if(extention=='ogg'){
|
||||||
return 'oga';
|
return 'oga';
|
||||||
}
|
}
|
||||||
|
@ -56,4 +56,4 @@ $(document).ready(function() {
|
||||||
loadPlayer();
|
loadPlayer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -48,7 +48,7 @@ function getUrlVars(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function musicTypeFromFile(file){
|
function musicTypeFromFile(file){
|
||||||
var extention=file.split('.').pop();
|
var extention=file.split('.').pop().toLowerCase();
|
||||||
if(extention=='ogg'){
|
if(extention=='ogg'){
|
||||||
return 'oga';
|
return 'oga';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue