Horje

Example of HTML onratechange Event Attribute

It will change the playing speed of a video and alert that the speed was changed.
index.html
Example: HTML
 <script>
function myFunction() {
  alert("onratechange attribute fired - The playing speed of the video was changed");
}
</script>

<video onratechange="myFunction()"> 

Output should be:

Example of HTML onratechange Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Media Events Attribute
Uploaded by:
Admin