onabort event Event Object Example Execute JavaScript when the video terminates loading: Definition and Usage The onabort event is triggered when the loading of video/audio (audio/video) is terminated. This event is triggered when the loading of multimedia data is terminated, not when an error occurs. Tip: The events that affect multimedia loading are: onemptied onerror onstalled onsuspend Browser support The numbers in the table indicate the version number of the first browser to support the event. Events onabort Yes 9.0 Yes Yes Yes Note: The Internet Explorer 11 browser under Windows 7 does not support the onabort event. Syntax In HTML: < element onabort=" myScript ">In JavaScript: object .onabort=function(){ myScript }; In JavaScript, use the addEventListener() method: object .addEventListener("abort", myScript ); Note: Internet Explorer 8 and earlier IE versions do not support addEventListener() method. Technical Details Does it support bubbling: No Is it cancelable: No Event type: Event Supported HTML tags: , Event Object