smarty {literal} tag

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
bdconnolly
Regular
Posts: 140
Joined: Tue Apr 04, 2006 9:37 pm

smarty {literal} tag

Post by bdconnolly »

Hey I am trying to use the latest version of FlowPlayer and having a little difficulty. Latest version uses "{" "}" characters. The confuse Smarty. So I am trying to use the smarty {literal} tag. And apparently, IE hates it.

Thoughts?

Here's the specific code:

Code: Select all

{literal}
<object width="530" height="418" data="http://strumpette.com/av/app/FlowPlayerBlack.swf" type="application/x-shockwave-flash">
	<param value="sameDomain" name="allowScriptAccess" />
	<param value="http://strumpette.com/av/app/FlowPlayerBlack.swf" name="movie" />
	<param value="high" name="quality" />
	<param value="noScale" name="scale" />
	<param value="transparent" name="wmode" />
<param value="config={videoFile:'http://strumpette.com/av/media/PR_vlogging.flv', loop: false, splashImageFile: '/av/app/preview.jpg', initialScale: 'fit', showFullScreenButton: false, showMenu: false, autoBuffering: true, autoPlay: false}" name="flashvars" />
</object>
{/literal}
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: smarty {literal} tag

Post by garvinhicking »

Hi!

Where can we see that "IE hatest it"? Specifics would help.

Try to replace { with {ldelim} and } with {rdelim} instead of using a literal block?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bdconnolly
Regular
Posts: 140
Joined: Tue Apr 04, 2006 9:37 pm

Post by bdconnolly »

Nothing to see really. IE just refused to load the swf altogether.

Anyway, as we are a live site, I could not just let it stay there. In the meantime, we've decided to go with flvplayer.
Post Reply