Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My jquery mp3 plugin plays a mp3 file that is placed on a remote serve.it is playing it in Firefox.But when i try to play it in internet explorer 9 ,it says. **
CSS
Jplayer 2.1.0:id='jquery_jplayer_1':Error!
Media URL could not be loaded.
Check media URL is valid.
Context:Address of mp3 file that is placed remotely.

This is a URL link.
http://lecion.blob.core.windows.net/sixty-vocab-files//UploadSound/7fd752a6-97ef-4a99-b324-a160295b8ac4/43/Kalimba.mp3[^]
I am unable to understand why it is happening so. Help Friends. Thanks
Posted
Comments
StianSandberg 13-Aug-12 3:40am    
Your server (lecion.blob.core.windows.net) is probably sending the wrong mime types for the mp3-file. You have to add audio/mpeg3 as mime type for .mp3 files.
Your link doesn't work either...
Member 9326644 13-Aug-12 3:45am    
Where to add mime type?file?
Well,i will change the link to other mp3 file.

Thanks

1 solution

Your server (lecion.blob.core.windows.net) is probably sending the wrong mime types for the mp3-file. You have to add audio/mpeg3 as mime type for .mp3 files.

you have to do this on the server. If it supports .NET you can do this in a web.config file.
XML
<configuration>
    <system.webserver>
        <staticcontent>
            <mimemap fileextension=".mp3" mimetype="audio/mpeg3" />
        </staticcontent>
    </system.webserver>
</configuration>
 
Share this answer
 
v2
Comments
Member 9326644 13-Aug-12 4:05am    
Now.it is not showing the error message immediately.After clicking on play,it shows the progress bar like it is running(but timing doesn't start) ,then 3-4 seconds later ,it shows the same error message.I think,we are very close and missing something little.
Thanks alot.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900