Hi. Firstly, 4images rocks!
Ok, here's my problem. I can upload mp3 files no problem, but I can't get them to play! I've tried in my (customised) template, as well as the default template which I haven't altered.
includes/upload_definitions.php contains the following:
$mime_type_match['mp3'] = array("audio/mpeg", "audio/x-mpeg", "audio/mp3", "audio/mpg");
There are two version of mp3.html, one in the default template, the other in my customised 4dark template:
<!-- Template file for MP3 Audio Files -->
<!--<embed src="{media_src}" type="audio/x-mpeg" hidden="true" autostart="true" loop="true" height="1" width="1"></embed> -->
{media_icon}<br />
and
<!-- Template file for MP3 Audio Files -->
<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName" VALUE="{media_src}">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="autoSize" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="loop" VALUE="true">
</OBJECT>
<br>
<br>
I have tried both, it doesn't make any difference. I can download the mp3 file, but I can't play it from within the 4images GUI.
Any help on this would be appreciated.
Thanks in advance,
Ali.
P.s. I might try the flash player mod:
http://www.4homepages.de/forum/index.php?topic=17665.0 but I'd still like to know why this doesn't work.