Horje

Example of HTML onplaying Event Attributes

It will alert that the video is playing.
index.html
Example: HTML
 <script>
function myFunction() {
  alert('The video is now playing');
}
</script>

<video onplaying="myFunction()"> 

Output should be:

Example of HTML onplaying Event Attributes




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