HTMLDocumentEvents4 interface

TBD.

Members

The HTMLDocumentEvents4 interface inherits from the IUnknown interface. HTMLDocumentEvents4 also has these types of members:

  • Events

Events

The HTMLDocumentEvents4 interface has these events.

Event Description
onabort

Fires when the user aborts the download.

onblur

Fires when the object loses the input focus.

oncanplay

Occurs when playback is possible, but would require further buffering.

oncanplaythrough

Occurs when playback to end is possible without requiring a stop for further buffering.

onchange

Fires when the contents of the object or selection have changed.

ondrag

Fires on the source object continuously during a drag operation.

ondragend

Fires on the source object when the user releases the mouse at the close of a drag operation.

ondragenter

Fires on the target element when the user drags the object to a valid drop target.

ondragleave

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

ondragover

Fires on the target element continuously while the user drags the object over a valid drop target.

ondrop

Fires on the target object when the mouse button is released during a drag-and-drop operation.

ondurationchange

Occurs when the duration attribute is updated.

onemptied

Occurs when the media element is reset to its initial state.

onended

Occurs when the end of playback is reached.

onerror

Fires when an error occurs during object loading.

onfocus

Fires when the object receives focus.

onload

Fires immediately after the client loads the object.

onloadeddata

Occurs when media data is loaded at the current playback position.

onloadedmetadata

Occurs when the duration and dimensions of the media have been determined.

onloadstart

Occurs when Internet Explorer begins looking for media data.

onmssitemodejumplistitemremoved

Occurs when msSiteModeShowJumpList is called, and an item has been removed from a Jump List by the user.

onmsthumbnailclick

Occurs when a user clicks a button in a Thumbnail Toolbar.

onpause

Occurs when playback is paused.

onplay

Occurs when the play method is requested.

onplaying

Occurs when the audio or video has started playing.

onprogress

Occurs to indicate progress while downloading media data.

onratechange

Occurs when the playback rate is increased or decreased.

onscroll

Fires when the user repositions the scroll box in the scroll bar on the object.

onseeked

Occurs when the seek operation ends.

onseeking

Occurs when the current playback position is moved.

onselect

Fires when the current selection changes.

onstalled

Occurs when the download has stopped.

onsubmit

Fires when a FORM is about to be submitted.

onsuspend

Occurs if the load operation has been intentionally halted.

ontimeupdate

Occurs to indicate the current playback position.

onvolumechange

Occurs when the volume is changed, or playback is muted or unmuted.

onwaiting

Occurs when playback stops because the next frame of a video resource is not available.

 

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2012