onratechange event Event Object Example Execute JavaScript when the playback speed of the video changes: Try it » Definition and Usage The onratechange event is triggered when the playback speed of the video/audio (audio/video) changes. This event is accessed through the Audio/Video object'splaybackRateproperty, which is used to set or return the current playback speed of the video/audio (audio/video). Browser support The numbers in the table indicate the version number of the first browser to support the event. Events onratechange Yes 9.0 Yes Yes Yes Syntax In HTML: < element onratechange=" myScript ">Try it In JavaScript: object .onratechange=function(){ myScript }; Try it In JavaScript, use the addEventListener() method: object .addEventListener("ratechange", myScript ); Try it Note: Internet Explorer 8 and earlier IE versions do not support addEventListener() method. Technical Details Does it support bubbling: No Is it cancelable: No Event type: Event Supported HTML tags: , Event Object