Skip to content

Build your personal knowledge base with Trilium Notes

feat(audio): make player full-width

Elian Doran15ca32872728
diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.ts
index 80fc42c6d2..b3f923f2a8 100644
--- a/apps/client/src/widgets/note_wrapper.ts
+++ b/apps/client/src/widgets/note_wrapper.ts
@@ -83,7 +83,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
return true;
}
- if (note.type === "file" && (note.mime === "application/pdf" || note.mime.startsWith("video/"))) {
+ if (note.type === "file" && (note.mime === "application/pdf" || note.mime.startsWith("video/") || note.mime.startsWith("audio/"))) {
return true;
}