Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

error property

Returns an object representing the current error state of the audio or video element.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.1Internet Explorer 9

 

Syntax

object.get_error(HTMLMediaError** error);

Property values

Type: Object

Object representing current error state of the media element.

Standards information

Remarks

error returns NULL if no error has occurred.

See also

How to use HTML5 to play video files on your webpage
How to use HTML5 to Add an Audio Player to your Webpage

 

 

Community Additions

Show:
© 2015 Microsoft