Welcome to WebmasterWorld Guest from 3.227.249.234

Forum Moderators: open

Message Too Old, No Replies

realplayer embeded object help

     
5:58 am on Nov 22, 2003 (gmt 0)

Junior Member

joined:Sept 2, 2003
posts:123
votes: 0


hi there,

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

5:11 pm on Nov 23, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


This is not a direct answer, because I don't know if what you want is possible.

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.