0
Why does my browser not able to access the audio file?
I wrote a small html program just to play a song. I used the audio element and it was correct. Still my browser,Google Chrome, says that the audio file cannot be played. Why is it so?
4 Answers
+ 3
wrong format,expired,used by too many users maybe?
Ahh I can't guess your code
+ 3
show Ur code
+ 2
type="audio/mpeg" and source should be linked with proper path
0
My code is like this :
<!DOCTYPE html>
<html>
<head>
<title>My page</title>
</head>
<body>
<audio controls autoplay loop>
<source src="song.mp3" type="song/mp3">
Audio isn't supported by your browser.
</body>
</html>