Audio Control Html 5 tag is not working .Version 32.0.3

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Post Reply
shahid hussain
New Member
Posts: 1
Joined: October 10th, 2014, 3:07 am

Audio Control Html 5 tag is not working .Version 32.0.3

Post by shahid hussain »

Hello All,
Required an immediate help to resolve my issue.
I m trying to embed audio player into my website. I m trying below code which is working fine in chrome but not in Firefox.
My code is below,
<!DOCTYPE html>
<html>
<body>

<audio controls>
<source src="./68.mp3" type="audio/mpeg">
</audio>

</body>
</html>

Another thing which i was wondering is if i execute this code by keeping file locally in windows machine tone is being played but unable to play from linux server.
While giving inspect element i m getting below error
HTTP "Content-Type" of "audio/x-mpeg" is not supported. Load of media resource http://172.20.0.207:8080/prbt/contentUp ... iew/68.mp3 failed.


Please do the needful soon as possible
User avatar
DanRaisch
Moderator
Posts: 127228
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Audio Control Html 5 tag is not working .Version 32.0.3

Post by DanRaisch »

Moving to Web Development.
User avatar
jscher2000
Posts: 11762
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Audio Control Html 5 tag is not working .Version 32.0.3

Post by jscher2000 »

On Windows XP, Firefox uses a Microsoft component named DirectShow to play MPEG-encoded media. To test whether Firefox can use DirectShow, try loading the MP3 directly into a tab. Does it play?
Post Reply