Q: background asf-sound in Netscape
by Dick Ittmann <D.H.C.Ittmann(at)students.law.uu.nl>
||Sat, 13 May 2000 16:54:36 +0200
First: excuse me for my English, it's not my own language, so I hope this
is all clear.
How can I embed a sound-only .asf so that the mediaplayer doesn't show?
I know <BGSOUND> is IE-only, so I'm trying with <EMBED>, but that doesn't
seem to work.
It doesn't make a difference whether I use TYPE="application/x-mplayer2" or
not. Using an .asx-file doesn't help and closing with </EMBED> doesn't make
a difference either. I use a <BASE HREF="http://220.127.116.11/"> on all
my pages, but tried the following tests using the full path in the
EMBED-tag as well.
When I use hidden=true (with or without h/v-sizes) it won't start playing
in Netscape (this works in IE):
<EMBED SRC="asf/noizintro.asf" HIDDEN="true" AUTOSTART="true">
If I give it a 0x0 size I get the same result (works in IE, not in Netscape):
<EMBED SRC="http://18.104.22.168/asf/noizintro.asf" WIDTH="0" HEIGHT="0"
If I don't use hidden nor size I hear the sound, but see a small
mediaplayer (not what I want):
<EMBED SRC="http://22.214.171.124/asf/noizintro.asf" AUTOSTART="true">
And, of course: if I size it 200x2 it works fine (this is what I use on the
'real page' now), but shows a <HR>-like mediaplayer which I don't want:
<EMBED SRC="http://126.96.36.199/asf/noizintro.asf" WIDTH="200"
I even tried a hidden layer in Netscape, but then the sound cannot be heard
either. This may be caused by the fact that I don't know the <LAYER>-tag
too well, though (and I hope it can be done without). Any suggestions?
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA