onpause event Event Object Example Execute JavaScript when the video is paused: Try it » The bottom of this article contains more examples. Definition and Usage The onpause event is triggered when the video/audio (audio/video) is paused. Tip: onplay The event is triggered when the video/audio (audio/video) starts playing. Browser support The numbers in the table indicate the version number of the first browser to support the event. Events onpause Yes 9.0 Yes Yes Yes Syntax In HTML: < element onpause=" myScript ">Try it In JavaScript: object .onpause=function(){ myScript }; Try it In JavaScript, use the addEventListener() method: object .addEventListener("pause", myScript ); Try it 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: , More examples Example Execute JavaScript when the audio is paused: Try it » Event Object