Firefox detect in php, code not working?
<p>I am using this but it doens't seem to work, what am I doing wrong? Thanks!</p>

<pre><code>&lt;?php if(strlen(strstr($agent,"Firefox")) &gt; 0 ){ ?&gt;
  &lt;object width="692" height="389"&gt;
    &lt;param name="allowfullscreen" value="true" /&gt;
    &lt;param name="allowscriptaccess" value="always" /&gt;
    &lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=VIDEO_ID&amp;amp;server=vimeo.com&amp;amp;color=00adef&amp;amp;fullscreen=1" /&gt;
    &lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=&lt;?php the_field('vimeo'); ?&gt;&amp;amp;server=vimeo.com&amp;amp;color=00adef&amp;amp;fullscreen=1"
    type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="692" height="389"&gt;&lt;/embed&gt;
&lt;/object&gt; &lt;?php } else { ?&gt;
    &lt;iframe src="http://player.vimeo.com/video/&lt;?php the_field('vimeo'); ?&gt;" width="692" height="389" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;   &lt;/iframe&gt;
&lt;?php } ?&gt;
</code></pre>

<p>it is not filtering, i get the iframe in firefox and i don't want to as I ony want to have the &lt; object> embed in firefox</p>
