0
Provide error message for audio tag in html5
Is there any way to provide error message when src (source audio file) is invalid for audio tag in html5 ? (Built in and without using javascript) My browser supports audio tag perfectly but I want to set a wrong src purposely to get error like "img" tag and its attribute "alt" to show a message instead of missed image.
4 Answers
+ 3
Something like <audio src="music.mp3">Your browser does not support <audio> tag.</audio>?
+ 1
My browser supports audio tag perfectly but I want to set a wrong src purposely to get error like "img" tag and its attribute "alt" to show a message instead of missed image.
0
nothing, i think
0
I don't think so