RE: and in IE

Mon, 6 Dec 1999 18:29:30 -0800

From: Sean Gallo <[EMAIL PROTECTED]>
Subject: RE: <object> and <embed> in IE

I think you ought to document.write your entire OBJECT block (Like you did
for the EMBED tag), not just one or two PARAM's and the EMBED.
At least, that's how I do it, and it works.
PS - I usually test for browser and only write the tag I need.  The EMBED
does not have to live inside the OBJECT.

-----Original Message-----
From: RealForum [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 06, 1999 4:26 PM
Subject: <object> and <embed> in IE


From: Kerry <[EMAIL PROTECTED]>
Subject: <object> and <embed> in IE

I have a console that will work fine in Netscape 4.x browsers, but it does
nothing in IE 4.x.  The clip's source is passed in as a parameter
(clipName) from a parent page and then plays that clip in the console.  In
Netscape, the clip will play, but in IE, nothing happens - not even any
errors.

The code I am using looks like this:

<OBJECT ID=realvideo CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
HEIGHT=144 WIDTH=176 vspace="4">
            <PARAM NAME="controls" VALUE="ImageWindow">
            <PARAM NAME="console" VALUE="Clip1">
            <PARAM NAME="autostart" VALUE="true">
            <script>document.writeln('<PARAM NAME="src
"VALUE="'+clipName+'">')</script>
            <PARAM NAME="type" VALUE="audio/x-pn-realaudio-plugin">
            <script>document.writeln('<EMBED NAME="realvideo"
type="audio/x-pn-realaudio-plugin" CONTROLS="ImageWindow" CONSOLE="Clip1"
AUTOSTART="true" SRC="'+clipName+'" HEIGHT=144 WIDTH=176>')</script></EMBED>
   </OBJECT>

Any ideas as to why this isn't working will be greatly appreciated!
-Kerry



*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to