Get to know MDN better
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Dedicated Web Workers.
The isConfigSupported() static method of the VideoEncoder interface checks if VideoEncoder can be successfully configured with the given config.
The dictionary object accepted by VideoEncoder.configure
A Promise that resolves with an object containing the following members:
supportedA boolean value which is true if the given config is supported by the encoder.
configA copy of the given config with all the fields recognized by the encoder.
Thrown if the provided config is invalid; that is, if doesn't have required values (such as an empty codec field) or has invalid values (such as a negative width)
The following example tests if the browser supports accelerated and un-accelerated versions of several video codecs.
| WebCodecs # dom-videoencoder-isconfigsupported |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Feb 9, 2026 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.