MediaError

A MediaError object is returned to the mediaError callback function when an error occurs.

Properties

  • code: One of the predefined error codes listed below.
  • message: Error message describing the details of the error.

Constants

  • MediaError.MEDIA_ERR_ABORTED
  • MediaError.MEDIA_ERR_NETWORK
  • MediaError.MEDIA_ERR_DECODE
  • MediaError.MEDIA_ERR_NONE_SUPPORTED

Description

The MediaError object is returned to the user through the mediaError callback function when an error occurs.