feat: Support more video formats

This commit is contained in:
shiyu
2025-09-08 19:15:09 +08:00
parent 9e69eb3e20
commit d42c6b5cee

View File

@@ -7,7 +7,7 @@ export const descriptor: AppDescriptor = {
supported: (entry) => {
if (entry.is_dir) return false;
const ext = entry.name.split('.').pop()?.toLowerCase() || '';
return ['mp4','webm','ogg','m4v','mov'].includes(ext);
return ['mp4','webm','ogg','m4v','mov','mkv','avi','wmv','flv','3gp'].includes(ext);
},
component: VideoPlayerApp,
default: true,