Forums / Setup & design / Realplayer MIME type x-pn-realaudio
Softriva .com
Tuesday 13 March 2007 8:18:42 am
I am using the mime type part to get the type of uploaded file. For mp3 I get mp3 for wave I get wav; however, for ram (realplayer) I get x-pn-realaudio. How can I make ez returns ram for realplayer files.
{$audio.data_map.file.content.mime_type_part}
Kristof Coomans
Tuesday 13 March 2007 9:46:06 am
The file extension to mime type mapping array is defined in lib/ezutils/classes/ezmimetype.php (at the bottom). I already requested that it is moved to an INI file: http://issues.ez.no/10424
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org