Search Docs
Loading...
Skip to content

Function: supportsVideo

function supportsVideo(): boolean;

Checks if the current browser supports video editing.

Returns#

boolean

false if the browser does not support the required APIs.

Deprecated#

Run the engine’s video.decode.checkSupport action instead: await engine.actions.run('video.decode.checkSupport'). This only checks that the video APIs exist, so it can answer true in a browser that cannot decode H.264.