Search Docs
Loading...
Skip to content

Type Alias: EditorCheckBrowserSupportAction

type EditorCheckBrowserSupportAction = (params?) => Promise<void>;

Action for checking browser capabilities at editor startup. Idempotent: only runs checks once per editor lifetime.

When called with explicit params, uses them directly (no scene needed). When called without params, reads scene mode for defaults.

Parameters#

Parameter Type
params? { videoDecode?: UnsupportedCapabilityBehavior; videoEncode?: UnsupportedCapabilityBehavior; }
params.videoDecode? UnsupportedCapabilityBehavior
params.videoEncode? UnsupportedCapabilityBehavior

Returns#

Promise<void>