Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 Explorer 9


object.get_error(HTMLMediaError** error);

Property values

Type: Object

Object representing current error state of the media element.

Standards information


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



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.