error property
Gets an IHTMLMediaError object representing the current error state of the media element.
![]() ![]() |
Syntax
HRESULT value = object.get_error(IHTMLMediaError** p);
Property values
Type: Object
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
IHTMLMediaElement::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
Build date: 11/12/2012

