Forum Moderators: open
i have the following code to embed realplayer within my html page:
<object id="RAOCXPlayer" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="27" width="223">
<param name="controls" value="StatusBar">
<param name="nolabels" value="true">
<param name="autostart" value="true">
<param name="SRC" value="playlist.rpm">
<param name="console" value="player1">
<embed type="audio/x-pn-realaudio-plugin" src="playlist.rpm" controls="StatusBar" height=27 width=223 nolabels=TRUE autostart=TRUE console="player1"></embed>
</object>
can anyone please help me create a javascript that will work with all (MOST) browsers that will basically do exactly the same thing above but will mute the output of the file or set the volume of it to 0
i would really appreciate anyones help in this matter.
many thanx in advance
cheers
But I wonder why you would use auto-start if you don't want the sound to be audible. In other words, why make every user spend the bandwidth/download time -- which will slow down your page load -- when you could just make the realplayer a link that the user can click if they want to hear the file?
I do some work for a few musician sites, and even there the use of autostart has lost favor. Most user feedback says they don't want to have multi-media forced on them by default, they want to make their own decision.