How to add conditional comments to object tag for IE

I’m trying to get an image to appear by using the following conditional comment for IE8:

 <!--[if lte IE 8]>

however, no image appears when viewing in IE8. Any help will be appreciated. Here’s all the code:

<div class="col-a2">
<video id="video1" poster="" preload="none" controls="controls" width="140" height="120" >
<source type="video/mp4" src="" />
<!--[if lte IE 8]>
<object type="application/x-shockwave-flash" data="/mediaelement/flashmediaelement.swf" width="140" height="120">
<img src="" width="140" height="120" />
<param name="movie" value="/mediaelement/flashmediaelement.swf" />
<param name="flashvars"     value="controls=true&amp;file=/video/testVid.mp4&amp;controlbar=over&amp;image=/img/test1.jpg&amp;file=/video/testVid.mp4" />

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.