package js.html
Available on jsThe
MediaError
interface represents an error associated to a media, like aHTMLMediaElement
.Documentation MediaError by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only code:Int
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. |
static inline read only MEDIA_ERR_ABORTED:Int = 1
static inline read only MEDIA_ERR_DECODE:Int = 3
static inline read only MEDIA_ERR_NETWORK:Int = 2
static inline read only MEDIA_ERR_SRC_NOT_SUPPORTED:Int = 4
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/MediaError.html