feat(file): display videos in full width

This commit is contained in:
Elian Doran
2025-02-26 19:30:16 +02:00
parent 07c2342b7b
commit e330d91df2
2 changed files with 14 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
return true;
}
if (note.type === "file" && note.mime === "application/pdf") {
if (note.type === "file" && (note.mime === "application/pdf" || note.mime.startsWith("video/"))) {
return true;
}