hasVideoFormat
hasVideoFormat(codec: "h264" | "h265" | "ogg" | "mp4" | "m4v" | "webm" | "vp9" | "hls") → {boolean}
detect if the given video format is supported
Name | Type | Description |
---|---|---|
codec | "h264" | "h265" | "ogg" | "mp4" | "m4v" | "webm" | "vp9" | "hls" |
the video format to check for support |
Type | Description |
---|---|
boolean |
return true if the given video format is supported |