Optional ReadonlyblobIn-memory binary data (e.g. from a fetch response or file input).
Optional ReadonlytypeMIME type of the source (e.g. 'video/mp4', 'audio/ogg').
When omitted the browser will attempt to determine the type from the resource headers or file extension.
Optional ReadonlyurlNetwork URL of the media resource.
A single media source.
Supply either a
url(for network resources) or ablob(for in-memory binary data). When both are provided,blobtakes precedence.Example