Improved IA Compatibility.
This commit is contained in:
parent
3d4e0a6621
commit
dca788dfc0
|
|
@ -103,7 +103,7 @@ module.exports.fetchMetadata = async function(fullID, title){
|
|||
|
||||
function compatibilityFilter(file){
|
||||
//return true for all files that match for web-safe formats
|
||||
return file.format == "h.264 IA" || file.format == "h.264" || file.format == "Ogg Video" || file.format.match("MPEG4");
|
||||
return file.format.match(/^h\.264/) || file.format == "Ogg Video" || file.format.match("MPEG4");
|
||||
}
|
||||
|
||||
function pathFilter(file){
|
||||
|
|
|
|||
Loading…
Reference in a new issue