HTML onratechange Attribute

❮ HTML Attributes

Example

<video onratechange="myFunction()">

Meaning

The ratechange event run when the playing speed of the audio/video is changed.




Standard Syntax

<element onratechange="script">



Browser Support




Status




Applies to:

The onratechange attribute can be used on the following element:

Element Attribute
<audio> ratechange
<video> ratechange






Attribute Values

Value Description
script Specifies a script that run when the media ratechanged.
❮ HTML Attributes