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#

ParameterType
params?{ videoDecode?: UnsupportedCapabilityBehavior; videoEncode?: UnsupportedCapabilityBehavior; }
params.videoDecode?UnsupportedCapabilityBehavior
params.videoEncode?UnsupportedCapabilityBehavior

Returns#

Promise<void>