Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

mp3 not playing locally

IE, Chrome

5:43 am on Apr 22, 2013 (gmt 0)

Junior Member

10+ Year Member

joined:July 4, 2007
votes: 0

I have an mp3 file which is ajaxed-in and plays automatically.

I'm testing locally. The file address is not the full url route, just filename, which is correct in circumstances.

Code for the mp3 is straight from Elizabeth Castro's updated Examples page.

On Windows, it's OK in Firefox, but not in IE9 and not inChrome. On a mac, OK in Firefox and Safari, but not Chrome.

Can someone explain why? Is it same reason for all browsers?
Any overrides possible ?

7:30 am on Apr 26, 2013 (gmt 0)

Preferred Member

10+ Year Member Top Contributors Of The Month

joined:May 27, 2005
votes: 3

A lot of links, especially media links using players/viewers designed for web play, will not function when viewing locally in some browsers. That can be expected and it has always been that way. For some it can be by design.

If you want to test locally, install a server on your computer. If using Linux you will find it quite easy if you enable Apache and install Webmin. On Windows you can enable IIS or install a PWS (older versions).

Then you visit your content at [localhost...]

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members