Get to know MDN better
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available in Dedicated Web Workers.
The byteLength read-only property of the EncodedVideoChunk interface returns the length in bytes of the encoded video data.
An integer.
In the following example the byteLength is printed to the console.
| WebCodecs # dom-encodedvideochunk-bytelength |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 27, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.