The pause event is sent when a request to pause an activity is handled and the activity has entered its paused state. This is most commonly sent to media elements after their media has been paused through a call to the element's pause() method.
The contexts in which the pause event occurs:
HTMLMediaElement (generally <audio> or <video>) may receive this event after its media has been paused by calling the element's pause() method. pause() method returns and after the media element's paused property has been changed to true.SpeechSynthesisUtterance object representing a speakable phrase receives a pause event when the controlling speech synthesis object is paused by calling SpeechSynthesis.pause().Event (HTML Media), SpeechSynthesisEvent (Web Speech API)HTMLMediaElement, SpeechSynthesisUtterance
| Property | Type | Description |
|---|---|---|
target Read only
| EventTarget | The event target (the topmost target in the DOM tree). |
type Read only
| DOMString | The type of event. |
bubbles Read only
| Boolean | Whether the event normally bubbles or not. |
cancelable Read only
| Boolean | Whether the event is cancellable or not. |
playingwaitingseekingseekedendedloadedmetadataloadeddatacanplaycanplaythroughdurationchangetimeupdateplaypauseratechangevolumechangesuspendemptiedstalled
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/Events/pause