Improved IA Compatibility.

This commit is contained in:
rainbow napkin 2025-09-13 11:36:08 -04:00
parent 3d4e0a6621
commit dca788dfc0

View file

@ -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){