I would recommend grabbing the Live HTTP Headers Extension/Plugin for
Firefox (http://livehttpheaders.mozdev.org/) and watching what is
returned for the Content-Type header, and the content-disposition
header.  I would suspect that most likely they are all returning an
'audio/mpeg' value for the Content-Type header but the ones that are
prompting you instead of being played directly probably have a
content-disposition header with a value of 'attachment;' followed by
'filename=[name of the file]'.  It could be that the Content-Type being
passed across on some are something along the lines of
'application/octet-stream' which may cause Firefox to prompt you to save
the file.

I have very little understanding of the dms in relation to the core of
magnolia, but in the config/server/MIMEMapping you can see what mp3 is
mapped to (it defaults to audio/mpeg).

The sporadic nature that you're reporting makes me wonder if maybe you
have apache or some other web server sitting in front of your app server
which may be occasionally altering or stripping out http headers.  If
not, perhaps there is a bug in magnolia in regards to it correctly
returning the right headers.

HTH,

Tom

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 23, 2007 3:18 AM
> To: [email protected]
> Subject: [magnolia-user] Mag 3 DMS: 2 MP3 files -> one gets 
> played, one gets downloaded?!
> 
> I've got a bunch of MP3 files in the DMS of a Mag 3.02 installation.  
> They're all of the type mp3, their file names end with .mp3 
> and they are even created with the same software. Strange 
> enough some of the are played directly in the webbrowser and 
> some are downloaded to the users harddisk (Tests were run 
> with Firefox). Does anyone have an idea where to look to 
> solve this mystery?
> 
> Regards,
> Will
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> ----------------------------------------------------------------
> 

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to