Contents

videoMimeType

The MIME type of the video asset.

Declaration

attribute String videoMimeType;

Discussion

The MIME type of the video asset, either as detected from a network request for the asset (if it was provided as a URL on videoSrc) or as provided by the developer prior to assigning a prepared ArrayBuffer to videoSrc.

This property, while writable, behaves as read-only if the video was obtained through a network request to a string URL set on videoSrc. In this case, writes to this property are ignored.

However, if the intent is to provide the video by assigning an already-loaded ArrayBuffer to videoSrc, you must set this property to the correct MIME type beforehand.

See Also

Instance Properties