Filename extension is `.x-matroska` instead of `.mkv`
See original GitHub issueDescription
It seems that Chrome 81 has started reporting the mimetype of recorded videos as video/x-matroska instead of the previous video/webm. This breaks the filename-generation code in videojs-record:
The file extension becomes x-matroska which can’t be played.
This only happens on macOS – Windows is not affected.
Steps to reproduce
Record a video with videojs-record. Get video blob with .convertedData – use .convertedData.name to save file.
JSBin example based off examples/video-only.html:
https://output.jsbin.com/bobexem (source)
Results
Expected
.recordedData.name to be 945380622933178.mkv or 945380622933178.webm
Actual
.recordedData.name is 945380622933178.x-matroska
Error output
No errors.
Additional Information
versions
videojs
3.11.0 (latest, but most likely all previous versions are affected too)
browsers
Chrome 81
OSes
macOS 10.15 (Catalina) down to macOS 10.9 (Yosemite).
Windows 10 is not affected.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)

Top Related StackOverflow Question
This is not actually a bug as stated here https://bugs.chromium.org/p/chromium/issues/detail?id=1070856#c4
This happened because according to this table
video/webm;codecs=h264is not really supported in Chrome.To overcome this issue you should explicitly set
video/webm;codecs=vp8,opusas codec,audio mimetype.If you want a fix for this now, try pull request #474. Or wait until v4.0.0 is released.