The MediaError
interface represents an error associated to a media, like a HTMLMediaElement
.
Documentation MediaError by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Variables
An unsigned short
that represents the error:
MEDIA_ERR_ABORTED |
1 |
The fetching of the associated ressource has been aborted by the user |
MEDIA_ERR_NETWORK |
2 |
A network error caused the ressource to stop being fetched. |
MEDIA_ERR_DECODE |
3 |
A decoding error caused the ressource to stop being fetched. |
MEDIA_ERR_SRC_NOT_SUPPORTED |
4 |
The associated ressource has been detected to be not suitable. |