Re: [Hypercontent-users] Embeding movies
Brought to you by:
alexvigdor
From: Carl P B. <C.P...@hu...> - 2007-03-20 13:03:31
|
Thanks, Works great, although I had to set disable-output-escaping to 'yes' Cheers=20 Carl ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 http://www.hull.ac.uk/cms ************************************* -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Adam Carl Sent: 20 March 2007 12:37 To: Alex Vigdor; Hypercontent-users List Subject: Re: [Hypercontent-users] Embeding movies Thanks Alex, you beat me to it. Adam On 3/20/07 8:11 AM, "Alex Vigdor" <al...@bi...> wrote: > Hi Carl, > You're close, try adding this template: >=20 > <xsl:template match=3D"rawhtml"> > <xsl:value-of select=3D"." disable-output-escaping=3D"true"/> > </xsl:template> >=20 > The disable-output-escaping attribute will allow the user-entered > tags to pass through. >=20 > Cheers, > Alex >=20 > On Mar 20, 2007, at 8:01 AM, Carl P Barrow wrote: >=20 >> Adam, >>=20 >> So...I set things up as follows but it's actually showing the code >> rather that the video. Am I just going about it the wrong way? >>=20 >> DTD >> <!ELEMENT rawhtml (#PCDATA)> >>=20 >> XSL >> <xsl:template name=3D"rawhtml"> >> <xsl:apply-templates select=3D"/cms:wrapper/cms:source/page/ >> rawhtml"/> >> </xsl:template> >>=20 >> <xsl:call-template name=3D"rawhtml"/> >>=20 >>=20 >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >>=20 >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl P Barrow >> Sent: 20 March 2007 09:43 >> To: Adam Carl; Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >>=20 >> Thanks Adam, I hadn't though of that. I'll take a look. >>=20 >> What time is it there? Must be awfully early! >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >>=20 >> -----Original Message----- >> From: Adam Carl [mailto:ac...@co...] >> Sent: 20 March 2007 09:39 >> To: Carl P Barrow; Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >>=20 >> Carl, >>=20 >> The html is strippied out by the wysiwyg editor right? I would just >> create another dtd element called rawhtml and tell the xsl to spit it >> out exactly as shown. Of couse the entry box will not show a wysiwyg >> editor but a user is really not supposed to change that kind of html >> anyway. Just a thought. >>=20 >> Adam >>=20 >> Adam Carl >> CUIT Webservices >>=20 >> -----Original Message----- >> From: Carl P Barrow [mailto:C.P...@hu...] >> Sent: Tuesday, March 20, 2007 05:22 AM Eastern Standard Time >> To: Hypercontent-users List >> Subject: Re: [Hypercontent-users] Embeding movies >>=20 >> Hi Alex, >>=20 >> Did you have a chance to look at the below email. I'm being asked >> about >> this a lot. >>=20 >> Cheers >> Carl >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >> ________________________________ >>=20 >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl Barrow >> Sent: 07 March 2007 14:33 >> To: Hypercontent-users List >> Subject: [Hypercontent-users] Embeding movies >>=20 >> Hi Alex, >>=20 >> One of my users here wants to embed a move taken from YouTube into one >> of their web pages. The problem is that the code is stripped out when >> the content is saved. Where can I tell the system not to strip it out? >>=20 >> Code would be as follows: >>=20 >> <object width=3D"425" height=3D"350"><param name=3D"movie" >> value=3D"http://www.youtube.com/v/QF7RRBZYfko"></param><param >> name=3D"wmode" >> value=3D"transparent"></param><embed >> src=3D"http://www.youtube.com/v/QF7RRBZYfko" >> type=3D"application/x-shockwave-flash" wmode=3D"transparent" = width=3D"425" >> height=3D"350"></embed></object> >>=20 >> Cheers >> Carl >>=20 >> ************************************* >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >>=20 >> http://www.hull.ac.uk/cms >> ************************************* >> ********************************************************************** >> ******************* >> To view the terms under which this email is distributed, please go >> to http://www.hull.ac.uk/legal/email_disclaimer.html >> ********************************************************************** >> *******************--------------------------------------------------- >> ---------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? >> page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV_____________________________= ___ >> _______________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >=20 >=20 > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |