Page 1 of 1

smarty {literal} tag

Posted: Sat Sep 22, 2007 3:38 am
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}

Re: smarty {literal} tag

Posted: Sat Sep 22, 2007 12:10 pm
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

Posted: Sat Sep 22, 2007 1:37 pm
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.