Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MediaError

Önkénteseink még nem fordították le ezt a cikket magyar nyelvre. Csatlakozzon, és segítsen a munka befejezésében!

The MediaError interface represents an error associated to a media, like a HTMLMediaElement.

Properties

This interface doesn't inherits any propertiy.

MediaError.code
An unsigned short that represents the error:
Name Value Description
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.

Methods

This interface doesn't implement or inherit any method.

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'MediaError' in that specification.
Living Standard Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) 3.5 (1.9.1) [ 9 ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) (Yes) ? (Yes) (Yes)

See also

Dokumentum címkék és a közreműködők

Címkék: 
 Ezen oldal közreműködői: teoli
 Utoljára frissítve: teoli,