[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

nagging problem embedding .rm file in Netscape with xs

Subject: nagging problem embedding .rm file in Netscape with xsl
From: "Jesse Ephraim" <jephraim@xxxxxxxxxxxxxxxxx>
Date: Thu, 20 Feb 2003 16:10:02 -0600
embed rm
(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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.