Problems embedding audio files with Opera7

MIDIman

Diamond Member
Jan 14, 2000
3,594
0
0
Been trying to figure this out for the life of me. We've decided to support Windows Media and Real, each with their own link. I'm using and object tag (for IE5+) and within that, and embed tag (for netscape). Works fine in IE5.5+ and Netscape 4.7...haven't tried Netscape6+ yet.

Loaded the pages up in Opera7 and the plugin loads, but the mp3 file does not. In one instance, Opera7 crashed.

Curious if anyone has any relative recommendations on how about to do this. Below is some code from the Windows Media page.

Thanks in advance...

<OBJECT
ID="MediaPlayer1"
CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
src="2a.mp3"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName" VALUE="2a.mp3">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">

<EMBED type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
SRC="2a.mp3"
filename="2a.mp3"
name="MediaPlayer1"
width="280"
height="40"
autostart="True"
showcontrols="True"
showstatusbar="False"
showdisplay="False"
autorewind="True">
</EMBED>

</OBJECT>
 

MIDIman

Diamond Member
Jan 14, 2000
3,594
0
0
ok - so now the following (for quicktime support) works in IE, Opera7 but NOT in Netscape 4.7? Why is this so difficult?!

<OBJECT NAME="JAWS Listening example"
CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="160"
HEIGHT="16"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="2a.mp3">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="true">

<embed type="application/x-quicktimeplayer"
src="2a.mp3"
WIDTH="160"
HEIGHT="16"
AUTOPLAY="true"
CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</embed>
</OBJECT>
 

MIDIman

Diamond Member
Jan 14, 2000
3,594
0
0
help!

is there a universal way to embed mp3's between all browsers? sure doesn't look like it!
 

MIDIman

Diamond Member
Jan 14, 2000
3,594
0
0
Anyone know how to fix this?

I've tried everything - directly linking to just an mp3 file doesnt work cause in IE 5.5 w/ real player, it won't load. It creates a temp file called xxx[1].mpga, but removes the file before real player loads!

Is there really now cross platform way to do this?