[xsl] Re: nagging problem embedding .rm file in Netscape with xsl

Subject: [xsl] Re: nagging problem embedding .rm file in Netscape with xsl
From: "Jesse Ephraim" <jephraim@xxxxxxxxxxxxxxxxx>
Date: Fri, 21 Feb 2003 13:16:33 -0600
I don't think this went throught the first time, so I'm reposting it...

>>> Jesse Ephraim 02/20/03 16:10 PM >>>
(source code is at the end of the question)

I have a little problem that I've been banging my head on for awhile.  I have an .xml file with some data related to a set of RealMedia files (and other info), and an .xsl file (chopped version of it below) to display everything. The .xsl file yanks all the data with no problem, and it will display in any browser (stuff like the date the file was created). I'm having trouble with the EMBED function when I try to watch the realmedia file in Netscape, however (everything works fine in IE).  When I run the snippet below in Netscape, I get "click here to get the plugin" graphics instead of the realmedia movie.  Note that I HAVE the realmedia plugin installed, and can see realmedia files embedded in other people's webpages.

Any help would be greatly appreciated!

Thanks!

Jesse

(the .xsl file is below)
_________________________________________

<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:strip-space elements="*" />

<xsl:template match="/">
<html>
<body>   
  <xsl:for-each select="VIDEO">

  <div align="center">   
  <xsl:element name="embed">
  <xsl:attribute name="src">../videos/<xsl:value-of select="URL"/>?embed</xsl:attribute>
  <xsl:attribute name="controls">ImageWindow</xsl:attribute>
  <xsl:attribute name="autostart">false</xsl:attribute>
  <xsl:attribute name="console">one</xsl:attribute>
  <xsl:attribute name="align">center</xsl:attribute>
  <xsl:attribute name="border">2</xsl:attribute>
  <xsl:attribute name="style">border-style: solid</xsl:attribute>
  <xsl:attribute name="width">200</xsl:attribute>
  <xsl:attribute name="height">150</xsl:attribute>
  </xsl:element>
  <br/>                                      
  <xsl:element name="embed">
  <xsl:attribute name="src">../videos/<xsl:value-of select="URL"/>?embed</xsl:attribute>
  <xsl:attribute name="controls">ControlPanel,StatusBar</xsl:attribute>
  <xsl:attribute name="autostart">false</xsl:attribute>
  <xsl:attribute name="autoplay">no</xsl:attribute>
  <xsl:attribute name="console">one</xsl:attribute>
  <xsl:attribute name="border">2</xsl:attribute>
  <xsl:attribute name="style">border-style: solid</xsl:attribute>
  <xsl:attribute name="width">200</xsl:attribute>
  <xsl:attribute name="height">60</xsl:attribute>
  </xsl:element> 
                                        
</div>

</body>
</html>
</xsl:template>
</xsl:stylesheet>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread