[Psml] .wav sound on IE vs FF
Markus Ritter
markusritter at hotmail.com
Wed Nov 19 14:50:31 EST 2008
I found that the Front Page 2003, web editor lets me add background sound
with .wav files, by generating the following code:
<bgsound src="Welcome.wav" loop="1">
but that only works on Internet Explorer 7 and not on Mozilla's FireFox
3.0.4(newer versions of HTML standards no longer support "bgsound"). So I
made a Windows Media file that had the audio I wanted. Then with Windows
Expressions Web 2, 2008, I was able to insert a Windows Media Player into
the web page resulting in the following code:
<object type="video/x-ms-wmv" width="0" height="0">
<param name="filename" value ="Welcome3.wmv" />
</object>
and now I get the sound on FireFox.
I put <div in front and back of the video object so it would play only once.
As follows
<div
<object type="video/x-ms-wmv" width="0" height="0">
<param name="filename" value ="Welcome3.wmv" />
</object>
<div
IE 7 does not recognize this video/x-ms-wmv command, so I background command
back in as well. Now both play the sound once.
Everybody is happy. Well almost as the layers I used extensively usually
over write each other when FireFox reads the web page. I expect that when
more pages get converted to Expressions Web 2 I'll see that problem
disappear. The learning curve is still a bit steep and I do most everything
by the awkward trial and error method. Sometimes I end up where no one
dares to tread.
Markus Ritter
Sturgeon Bay, WI
Webmaster for the Door County Sail & Power Squadron.
Usps.org/door
More information about the PSML
mailing list