You are here: Embeding mp3 doesn't work ... help « HTML « IT news, forums, messages
Embeding mp3 doesn't work ... help

Posted by <bunch92 on 07/31/05 13:58

I am creating a site to learn a foreign language. I will have hundreds of
sounds (each no longer than 5 seconds).

I don't want the users to have pop-up windows at all so I need the sounds to
be embeded.

I can make it work with WAV files :
http://www.perignon.co.uk/testwav.html

but it doesn't work with MP3 :
http://www.perignon.co.uk/testmp3.html

What am I doing wrong ? The server I use says it has got the audio mp3 MIME
so it should work ?

The mp3 source is in :
http://www.perignon.co.uk/fr/lessonbeg/sound/o.mp3
and works fine.

The code is :
<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="http://www.perignon.co.uk/fr/lessonbeg/sound/o.mp3"> <PARAM
NAME="animationatStart" VALUE="true"> <PARAM NAME="transparentatStart"
VALUE="true"> <PARAM NAME="autoStart" VALUE="true"> <PARAM
NAME="showControls" VALUE="true"> </OBJECT>



Thank you for your help.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация