type VideoDecodeCheckSupportAction = (options?) => Promise<boolean>;Action function for checking video decoding/playback support. Returns true if the browser decodes H.264 video. The codecs are measured first when nothing has. Shows a blocking error dialog if not supported (unless dialog is disabled).
Parameters#
| Parameter | Type | Description |
|---|---|---|
options? |
{ dialog?: |
boolean |
options.dialog? |
boolean |
Returns#
Promise<boolean>
A promise that resolves to true if video decoding is supported, false otherwise