mp3/wmv/wma files won't play in WMP

jackc

Verified User
Joined
Jan 19, 2007
Messages
313
something very wrong here, all the servers running apache 2.2(built by custombuild) can't play mp3/wmv/wma files with WMP. I checked the mime types, all are correct and the files are downloadable, just won't play in WMP or when the media files are embedded in a web page, sometimes it may play for couple seconds then stopped. any idea what's wrong?
 
Last edited:
You sure it's not a local desktop issue? Have you tried a different computer?

Post a link, I'll try it if you want.
 
my clients reported this problem, i tried it with several computers, it is true.
i sent you the link by PM, please try.
 
Last edited:
I'm able to load the link you gave me, but it seems to stop after 2-3 seconds.

How are these files uploaded? Possibly corrupt upload?
 
via FTP, i'm sure it's not the file problem, the file can be download completely.
and the problem occur on all the media files, and mutiple clients reported this problem, no idea what's wrong.
 
I just tried use winamp to play, winamp has no problem playing it while WMP still can't.
 
looks like it has something to do with mod_deflate, i disabled mod_deflate, seems WMP is playing now, still investigating why mod_deflate make WMP stop play.
 
ok, problem solved. have to add the media file types to the "don't compress list".
 
ok, problem solved. have to add the media file types to the "don't compress list".

Hello jackc,

I've still this problem too. I've add some media file types to httpd-deflate.conf to the "don't compress list" as

# Don't compress images and other uncompressible content
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|rar|zip|exe|mov|wmv|wma|mp3)$ no-gzip dont-vary

but it's still cant play.

How can I check or solve this problem.

Thank you very much.
 
did you restart httpd after you made the change?

if you are testing with wma wmv files, you might want to add mime types for them.
 
Last edited:
did you restart httpd after you made the change?

if you are testing with wma wmv files, you might want to add mime types for them.

Dear jackc,

I've alreay restarted httpd, but media file still can't play.
Could you give me some examples that you added in mime types?
And is it correct?
# Don't compress images and other uncompressible content
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|rar|zip|exe|mov|wmv|wma|mp3)$ no-gzip dont-vary

Thank you very much for your answer.
 

I use this tool for create embed but it still have problem.
My url: http://www.ngocthinh.com.vn/music.html

Follow this topic, I see we have to do 2 step to resolve it:
1. you might want to add mime types for them.
2. have to add the media file types to the "don't compress list".


All thing can do by Direct Admin? or have to ssh to work with file for config it?

Step 1: I guess that is on Advanced Features > Mime Types.
Put MimeType: media - Extension: mp3. That right?
http://www.site-helper.com/misc.html#mime is not tell me clearly.

Can you give me step by step for that, jackc?
I am just a newbie, please help me. Thank so much.
 
Back
Top