<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: New symfony plugin: sfLightWindowPlugin</title>
	<atom:link href="http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/</link>
	<description>Development Blog</description>
	<lastBuildDate>Thu, 17 Jun 2010 09:37:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: af4ng</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-406</link>
		<dc:creator>af4ng</dc:creator>
		<pubDate>Tue, 21 Apr 2009 07:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-406</guid>
		<description>Hi,
I&#039;m a newbie in symfony. I just installed the sfLightWindowPlugin and it worked successfully when i click a link (using lw_link). My problem is that i want to show the lightwindow when my textbox lostfocus (onBlur). The action is it will refer to &#039;module/action&#039;. Same like lw_link. But i can&#039;t using lw_link inside the input_tag. Can you suggest me what i have to do?

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m a newbie in symfony. I just installed the sfLightWindowPlugin and it worked successfully when i click a link (using lw_link). My problem is that i want to show the lightwindow when my textbox lostfocus (onBlur). The action is it will refer to &#8216;module/action&#8217;. Same like lw_link. But i can&#8217;t using lw_link inside the input_tag. Can you suggest me what i have to do?</p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vanessa</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-300</link>
		<dc:creator>Vanessa</dc:creator>
		<pubDate>Tue, 23 Sep 2008 19:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-300</guid>
		<description>Hey how would I use a flash video (flv) instead of the swf?

Thanks</description>
		<content:encoded><![CDATA[<p>Hey how would I use a flash video (flv) instead of the swf?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Edwards</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-299</link>
		<dc:creator>Carl Edwards</dc:creator>
		<pubDate>Mon, 22 Sep 2008 13:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-299</guid>
		<description>I have a page where I click on a lw_link button that pops up a lightwindow. This has several buttons and links in it and currently you click an option then click a &quot;continue&quot; button. 

Clicking the selected option runs a javascript function in the original window that sets a hidden form variable. I now want to change the page so that I only have to click on the option in the lightwindow and it calls the javascript function and then closes the lightwindow. I am finding this impossible to do! If I have &quot;rel=deactivate&quot; and &quot;class=lightwindow_action&quot; in the option link in the lightwindow, all that happens is the lightwindow is closed, the a href=&quot;javascript:myfunction();&quot; never actually fires!

I&#039;ve tried doing &quot;mylightwindow.deactivate()&quot; in the javascript function I call and it just says &quot;mylightwindow is not defined&quot;. I&#039;ve tried doing &quot;lightwindow.deactivate()&quot; and it says that is not a function...

I&#039;m lost! Surely this is possible to do?</description>
		<content:encoded><![CDATA[<p>I have a page where I click on a lw_link button that pops up a lightwindow. This has several buttons and links in it and currently you click an option then click a &#8220;continue&#8221; button. </p>
<p>Clicking the selected option runs a javascript function in the original window that sets a hidden form variable. I now want to change the page so that I only have to click on the option in the lightwindow and it calls the javascript function and then closes the lightwindow. I am finding this impossible to do! If I have &#8220;rel=deactivate&#8221; and &#8220;class=lightwindow_action&#8221; in the option link in the lightwindow, all that happens is the lightwindow is closed, the a href=&#8221;javascript:myfunction();&#8221; never actually fires!</p>
<p>I&#8217;ve tried doing &#8220;mylightwindow.deactivate()&#8221; in the javascript function I call and it just says &#8220;mylightwindow is not defined&#8221;. I&#8217;ve tried doing &#8220;lightwindow.deactivate()&#8221; and it says that is not a function&#8230;</p>
<p>I&#8217;m lost! Surely this is possible to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MG-Programmer</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-230</link>
		<dc:creator>MG-Programmer</dc:creator>
		<pubDate>Tue, 29 Apr 2008 13:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-230</guid>
		<description>@Symbiat:
Did you solved your Problem? I&#039;ve got the same one. In LightWindow it just appears a blank window and if I load the page normally it works fine...</description>
		<content:encoded><![CDATA[<p>@Symbiat:<br />
Did you solved your Problem? I&#8217;ve got the same one. In LightWindow it just appears a blank window and if I load the page normally it works fine&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Symbiat</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-225</link>
		<dc:creator>Symbiat</dc:creator>
		<pubDate>Thu, 17 Apr 2008 15:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-225</guid>
		<description>The player loads and plays normally if I load the play action page in my browser directly. If I load the same page into LightWindow I get an empty (blank) window.</description>
		<content:encoded><![CDATA[<p>The player loads and plays normally if I load the play action page in my browser directly. If I load the same page into LightWindow I get an empty (blank) window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-220</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Wed, 16 Apr 2008 20:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-220</guid>
		<description>I don&#039;t think it&#039;s related to javascript. You might want to try and get the videos working without the symfony helpers and just do it the way Kevin does by hand (http://www.stickmanlabs.com/lightwindow/). That way at least you can rule out any issues with the symfony plugin. 
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think it&#8217;s related to javascript. You might want to try and get the videos working without the symfony helpers and just do it the way Kevin does by hand (<a href="http://www.stickmanlabs.com/lightwindow/" rel="nofollow">http://www.stickmanlabs.com/lightwindow/</a>). That way at least you can rule out any issues with the symfony plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Symbiat</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-219</link>
		<dc:creator>Symbiat</dc:creator>
		<pubDate>Wed, 16 Apr 2008 20:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-219</guid>
		<description>Hmm... I took out the EMBED tag inside the &quot;player&quot; DIV and all I see now is a blank lightwindow. So it looks like JavaScript is not running inside the LightWindow. I vaguely remember reading about scripting being switched off by default in symfony helpers so maybe that&#039;s it? Does this ring any bells?</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; I took out the EMBED tag inside the &#8220;player&#8221; DIV and all I see now is a blank lightwindow. So it looks like JavaScript is not running inside the LightWindow. I vaguely remember reading about scripting being switched off by default in symfony helpers so maybe that&#8217;s it? Does this ring any bells?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-216</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Tue, 15 Apr 2008 19:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-216</guid>
		<description>@Symbiat:
Interesting. I&#039;m not sure exactly what is happening, although I can see a problem with this:
&lt;pre class=&quot;code&quot;&gt;&lt;code&gt;
&lt;embed src=&quot;/flvplayer.swf&quot; width=&quot;getWidth(); ?&gt;&quot; height=&quot;getHeight(); ?&gt;&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; wmode=&quot;
opaque&quot; flashvars=&quot;file=getUrl(); ?&gt;&amp;displayheight=getHeight(); ?&gt;&amp;displaywidth=getWidth(); ?&gt;&amp;autostart=true&quot; /&gt;
&lt;/code&gt;&lt;/pre&gt;

I&#039;m not sure if this is something with the comment filtering on this blog or if your embed src really does have a width set like this:   width=&quot;getWidth(); ?&gt;&quot;  . That&#039;s no good! Make sure you are passing the parameters into the helper properly, it looks like in this case it&#039;s not parsing the PHP and instead is actually putting the function text &quot;getWidth(); ?&gt;&quot; inside the width parameter....</description>
		<content:encoded><![CDATA[<p>@Symbiat:<br />
Interesting. I&#8217;m not sure exactly what is happening, although I can see a problem with this:</p>
<pre class="code"><code>
&lt;embed src="/flvplayer.swf" width="getWidth(); ?&gt;" height="getHeight(); ?&gt;" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="
opaque" flashvars="file=getUrl(); ?&gt;&amp;displayheight=getHeight(); ?&gt;&amp;displaywidth=getWidth(); ?&gt;&amp;autostart=true" /&gt;
</code></pre>
<p>I&#8217;m not sure if this is something with the comment filtering on this blog or if your embed src really does have a width set like this:   width=&#8221;getWidth(); ?>&#8221;  . That&#8217;s no good! Make sure you are passing the parameters into the helper properly, it looks like in this case it&#8217;s not parsing the PHP and instead is actually putting the function text &#8220;getWidth(); ?>&#8221; inside the width parameter&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Symbiat</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-215</link>
		<dc:creator>Symbiat</dc:creator>
		<pubDate>Tue, 15 Apr 2008 15:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-215</guid>
		<description>Yes, Ive read through the template. Im playing an FLV file. My template contains a partial that contains this:

getThumbnail(), array(&#039;width&#039; =&gt; 144, &#039;style&#039; =&gt; &#039;border:2px solid #fff&#039;)), &#039;@playvideo?id=&#039; . $item-&gt;getId(), array(&#039;title&#039; =&gt; &#039;Video: &#039; . $item-&gt;getTitle())); ?&gt;


When I click the link, the lightwindow loads a template that contains this:

&lt;embed src=&quot;/flvplayer.swf&quot; width=&quot;getWidth(); ?&gt;&quot; height=&quot;getHeight(); ?&gt;&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; wmode=&quot;
opaque&quot; flashvars=&quot;file=getUrl(); ?&gt;&amp;displayheight=getHeight(); ?&gt;&amp;displaywidth=getWidth(); ?&gt;&amp;autostart=true&quot; /&gt;

        var so = new SWFObject(&#039;/flvplayer.swf&#039;,&#039;player&#039;,&#039;getWidth(); ?&gt;&#039;,&#039;getHeight(); ?&gt;&#039;,&#039;7&#039;);
        so.addParam(&quot;allowfullscreen&quot;,&quot;true&quot;);
        so.addVariable(&quot;file&quot;,&quot;getUrl(); ?&gt;&quot;);
        so.addVariable(&quot;image&quot;,&quot;getThumbnail(); ?&gt;&quot;);
        so.addVariable(&quot;width&quot;, &quot;getWidth(); ?&gt;&quot;);
        so.addVariable(&quot;autostart&quot;, &quot;false&quot;);
        so.addVariable(&quot;height&quot;, &quot;getHeight(); ?&gt;&quot;);
        so.write(&#039;player&#039;);



The problem is the video appears to start playing before the loading has finished but then it starts playing again a second later after it has finished loading. Im just trying to figure out why that happens.</description>
		<content:encoded><![CDATA[<p>Yes, Ive read through the template. Im playing an FLV file. My template contains a partial that contains this:</p>
<p>getThumbnail(), array(&#8216;width&#8217; =&gt; 144, &#8217;style&#8217; =&gt; &#8216;border:2px solid #fff&#8217;)), &#8216;@playvideo?id=&#8217; . $item-&gt;getId(), array(&#8216;title&#8217; =&gt; &#8216;Video: &#8216; . $item-&gt;getTitle())); ?&gt;</p>
<p>When I click the link, the lightwindow loads a template that contains this:</p>
<p>&lt;embed src=&#8221;/flvplayer.swf&#8221; width=&#8221;getWidth(); ?&gt;&#8221; height=&#8221;getHeight(); ?&gt;&#8221; type=&#8221;application/x-shockwave-flash&#8221; pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221; wmode=&#8221;<br />
opaque&#8221; flashvars=&#8221;file=getUrl(); ?&gt;&amp;displayheight=getHeight(); ?&gt;&amp;displaywidth=getWidth(); ?&gt;&amp;autostart=true&#8221; /&gt;</p>
<p>        var so = new SWFObject(&#8216;/flvplayer.swf&#8217;,'player&#8217;,'getWidth(); ?&gt;&#8217;,'getHeight(); ?&gt;&#8217;,'7&#8242;);<br />
        so.addParam(&#8220;allowfullscreen&#8221;,&#8221;true&#8221;);<br />
        so.addVariable(&#8220;file&#8221;,&#8221;getUrl(); ?&gt;&#8221;);<br />
        so.addVariable(&#8220;image&#8221;,&#8221;getThumbnail(); ?&gt;&#8221;);<br />
        so.addVariable(&#8220;width&#8221;, &#8220;getWidth(); ?&gt;&#8221;);<br />
        so.addVariable(&#8220;autostart&#8221;, &#8220;false&#8221;);<br />
        so.addVariable(&#8220;height&#8221;, &#8220;getHeight(); ?&gt;&#8221;);<br />
        so.write(&#8216;player&#8217;);</p>
<p>The problem is the video appears to start playing before the loading has finished but then it starts playing again a second later after it has finished loading. Im just trying to figure out why that happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/2007/08/16/new-symfony-plugin-sflightwindowplugin/comment-page-1/#comment-214</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Mon, 14 Apr 2008 20:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/2007/08/16/new-symfony-plugin-sflightwindowplugin/#comment-214</guid>
		<description>@Symbiat:

check out the demo page (http://symfony.stereodevelopment.com/sfLightWindow). All you have to do is set the &#039;src&#039; attribute to the .swf file.</description>
		<content:encoded><![CDATA[<p>@Symbiat:</p>
<p>check out the demo page (<a href="http://symfony.stereodevelopment.com/sfLightWindow" rel="nofollow">http://symfony.stereodevelopment.com/sfLightWindow</a>). All you have to do is set the &#8217;src&#8217; attribute to the .swf file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
