Code
Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy onprogress attribute</title> </head> <body> <audio id="myAudio" controls onprogress="onProgress()"> <source src=" welcome.wav" type="audio/wav"> <source src="welcome.mp3" type="audio/mp3"> </audio> <script> function onProgress() { alert("The Wikitechy audio has started downloading"); } </script> </body> </html>
Result