error property
Returns an object representing the current error state of the audio or video element.
Syntax
object.get_error(HTMLMediaError** error);
Property values
Type: Object
Object representing current error state of the media element.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.1
Remarks
error returns NULL if no error has occurred.