onratechange event
Occurs when the playback rate is increased or decreased.
![]() ![]() |
Syntax
| HTML Attribute | <element onratechange = "handler(event)"> |
|---|---|
| Event Property | object.onratechange = handler; |
| attachEvent Method | object.attachEvent("onratechange", handler) |
| addEventListener Method | object.addEventListener("ratechange", handler, useCapture) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- pEvtObj [in]
-
Type: Event
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12
Remarks
This event is raised when the value of IHTMLMediaElement::playbackRate changes. The playback rate can be increased to a maximum of 2 (200 percent), or decreased to 0.
To invoke this event, do one of the following:
- Increase or decrease the value of IHTMLMediaElement::playbackRate.
See also
Build date: 11/12/2012

