You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for .mkv (Matroska) files in the preview #3563
I understand this is a feature request and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Idea
.mkv (Matroska) files can't be opened with the Preview app: "Open with > Preview" is not offered and a click on the file asks if we want to download the file
The Preview app only registers the MIME types listed in packages/web-app-preview/src/mimeTypes.ts, and Matroska is not in the list. Browsers can play MKV files natively when the codecs are supported, so registering video/x-matroska and video/matroska is enough. This is the same approach as the MOV support in #1705.
Playback relies on native browser support, so if the file uses a codec the user doesn't have on it's device, the playback won't start (like all the other formats).
I have the fix ready and can make a pr whenever you want.
Activity