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
Copy file name to clipboardexpand all lines: docs/content/reference/video.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,15 @@ Video playback is done using the browser's own video decoder, so the supported c
40
40
41
41
Overall, we recommend using Chrome or another Chromium-based browser, as it seems to have the best video support as of writing.
42
42
43
-
When choosing a codec, we recommend [AV1](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs#av1), as that seems to have the best overall playback support. Since AV1 is patent-free, it is also likely the first codec we will support in the native viewer.
43
+
When choosing a codec, we recommend [AV1](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs#av1),
44
+
as it seems to have the best overall playback support while also having very high compression quality.
45
+
Since AV1 is patent-free, it is also likely the first codec we will support in the native viewer.
44
46
45
47
For decoding video in the Web Viewer, we use the [WebCodecs API](https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API).
46
48
This API enables us to take advantage of the browser's hardware accelerated video decoding capabilities.
47
49
It is implemented by all modern browsers, but with varying levels of support for different codecs, and varying levels of quality.
48
50
49
-
With that in mind, here are the browsers which we have tested and verified to work:
51
+
With that in mind, here are the browsers which we have tested and verified to generally work:
50
52
51
53
|| Linux | macOS | Windows |
52
54
| ---------- | ------ | ----- | ------- |
@@ -64,12 +66,16 @@ which codecs are supported by which browser, see [Video codecs on MDN](https://d
64
66
65
67
At the moment, we test the following codecs:
66
68
67
-
|| Linux | macOS | Windows |
68
-
| ----- | ----- | ------- | ------- |
69
-
| AV1 | ✅ | 🚧[^4]| ✅ |
70
-
| H.264 | ✅ | ✅ | ✅ |
69
+
|| Linux Firefox | Linux Chrome | macOS Firefox | macOS Chrome | macOS Safari | Windows Firefox | Windows Chrome |
[^4]: Safari/WebKit does not support AV1 decoding except on [Apple Silicon devices with hardware support](https://webkit.org/blog/14445/webkit-features-in-safari-17-0/).
76
+
[^5]: Firefox does not support H.265 decoding on any platform.
77
+
[^6]: Safari/WebKit has been observed suttering when playing `hvc1` but working fine with `hevc1`. Despite support being advertised Safari 16.5 has been observed not support H.265 decoding.
78
+
[^7]: Only supported if hardware encoding is available. Therefore always affected by Windows stuttering issues, see [^3].
73
79
74
80
## Links
75
81
*[Web video codec guide, by Mozilla](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs)
0 commit comments