Click to See Complete Forum and Search --> : Real Player in Web Page.


urxlnc
02-04-2003, 09:16 AM
<object id=audio1 classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="350" height="36" >
<param name="SRC" value="filename.ram" ref>
<param name="CONTROLS" value="ControlPanel">
<param name="CONSOLE" value="cons">
<param name="_ExtentX" value="106">
<param name="_ExtentY" value="53">
<param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<embed src="filename.ram" type="audio/x-pn-realaudio-plugin" width="350" height="36" controls="ControlPanel" console="cons" >
</embed></object>

Hello, I am using this Object for real player in my web page, I want to implement this from javascript. That is, I want the javascript file to pass the filename to this, instead of giving the file name in the object.

<param name="SRC" value="filename.ram" ref>

here I want javascript to pass the URL to this Object, from the javascript. Anyone have any kind of Idea?

gil davis
02-04-2003, 09:38 AM
You will have to consult the Real Player web site. An object will expose certain internal methods that can be accessed using JavaScript function calls. They will specific for the object. You cannot simply change a parameter in the document and expect it to have any effect on the object.