Page 1 of 1

params enclosed by <object> tag disappear (flash flv player problem) [solved]

Posted: Tue Mar 27, 2007 7:18 pm
by fubar
I included the html below in a page template but the param values (highlighted) were missing when I checked the source of the rendered page.
The problem is obviously related to the fact that the highlighted stuff is enclosed in {brackets} reserved for the smarty tags.

So here comes the question: Can someone help me solve this? :)

My real problem is, that the name of the video file to be played by this flash video player is included in the disappearing code... There is a possibility to get those config values from an external config.js, but the path of this is also enclosed by the same {brackets} (uh)

thanks in advance











Re: params enclosed by <object> tag disappear (flash flv player problem)

Posted: Tue Mar 27, 2007 7:26 pm
by Dee
Surround any code that includes brackets with {literal}{/literal} tags,

Regards,
D

Re: params enclosed by <object> tag disappear (flash flv player problem)

Posted: Tue Mar 27, 2007 8:15 pm
by Nullig
Alternatively, you could load it with SWFObject, which you can get here:

http://blog.deconcept.com/swfobject/

It creates valid XHTML 1.0 code.

Nullig

Re: params enclosed by <object> tag disappear (flash flv player problem)

Posted: Tue Mar 27, 2007 8:57 pm
by fubar
Thanks guys,

cmsms community rocks!