error event fires when some form of error occurs while attempting to load or perform the media.
HTMLMediaElement.onerror = EventListener;
|HTML Living Standard
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.