Share via


onratechange event

Occurs when the playback rate is increased or decreased.

 

Syntax

HTML Attribute <element onratechange = "handler(event)">
Event Property object.onratechange = handler;
addEventListener Method object.addEventListener("ratechange", handler, useCapture)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • handler [in]
    Type: function

    Event handler object.

Standards information

Remarks

This event is raised when the value of playbackRate changes.

To invoke this event, do one of the following:

See also

playbackRate