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="http://www...com/img/test.jpg" preload="none" controls="controls" width="140" height="120" >
<source type="video/mp4" src="http://www...com/video/testVid.mp4" />
<!--[if lte IE 8]>
<object type="application/x-shockwave-flash" data="/mediaelement/flashmediaelement.swf" width="140" height="120">
<img src="http://www...com/img/test1.jpg" 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" />
</object>
<![endif]-->
</video>
</div>

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