Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: jQuery mp3 IE9
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. **
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 12-Aug-12 22:24pm
Comments
AlluvialDeposit at 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 at 13-Aug-12 3:45am
   
Where to add mime type?file?
Well,i will change the link to other mp3 file.
 
Thanks

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
<configuration>
    <system.webserver>
        <staticcontent>
            <mimemap fileextension=".mp3" mimetype="audio/mpeg3" />
        </staticcontent>
    </system.webserver>
</configuration>
  Permalink  
v2
Comments
Member 9326644 at 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
0 OriginalGriff 7,130
1 DamithSL 5,089
2 Maciej Los 4,866
3 Sergey Alexandrovich Kryukov 4,647
4 Kornfeld Eliyahu Peter 4,409


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 13 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100