D
DU
Andrew said:Well, if somebody is going to be on your site for a while, let's say
it refreshes, or is framed, or whatever, background music can turn
into noise, hence can be annoying, but should you decide to have it,
have it optionable, like this:
<embed src="../../Sounds/Hawaii-50.au" AUTOSTART="FALSE" HEIGHT="45"
WIDTH="280" TITLE="Hawaii-50.au">
By using the above AUTOSTART and the value FALSE, the user has control
over how much they want to listen to your site's music. The HEIGHT
and WIDTH attributes will provide for a control panel which the surfer
can use to play/stop/increase/decrease/mute the volume, etc...
I've got that on my site ( a rather neglected site as I spend too much
time on Usenet )
Sincerely,
Andrew H. Carter
I entirely agree with the autostart="false" idea/policy/issue. In fact,
it should always be like that, giving the user full and total control
over the music embedded in a page and his experience on a page. May I
suggest a W3C web standards compliant way of coding this though:
<object data="../../Sounds/Hawaii-50.au" type="audio/wav" width="280"
height="45" standby="Loading of music file in progress...please be
patient" title="Hawaii-50">
<param name="AutoStart" value="false">
<param name="AnimationAtStart" value="true">
<param name="AutoRewind" value="false"><!-- AutoRewind does not seem to
work -->
<param name="AutoStart" value="false">
<param name="EnableContextMenu" value="true">
<param name="FileName" value="../../Sounds/Hawaii-50.au">
<param name="ShowAudioControls" value="true">
<param name="ShowPositionControls" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowControls" value="true">
<param name="xVolume" value="50">
<object width="300" height="100"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading of
Windows Media Player and music file in progress... please be patient"
type="application/x-oleobject" title="Hawaii-50">
<param name="AnimationAtStart" value="true">
<param name="AutoRewind" value="false"><!-- AutoRewind does not seem
to work -->
<param name="AutoStart" value="false">
<param name="EnableContextMenu" value="true">
<param name="FileName" value="../../Sounds/Hawaii-50.au">
<param name="ShowAudioControls" value="true">
<param name="ShowPositionControls" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowControls" value="true">
<param name="xVolume" value="50">
<strong>Your media player and/or the music file failed to load
properly or to render the music file accordingly.</strong>
</object>
</object>
DU