I’d like to put https://www.sample.com/sample.asx (video file) to a post. How the code be to make it run in both IE and Firefox?
I tried
<!–[if IE]>
<object id=”WMP” classid=”CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6″ width=”320″ height=”240″>
<param name=”URL” value=”https://www.sample.com/sample.asx” />
</object>
<![endif]–>
<!–[if!IE]> <–>
<object id=”WMP” type=”video/x-ms-asf” data=”https://www.sample.com/sample.asx” width=”320″ height=”240″>
<param name=”src” value=”https://www.sample.com/sample.asx”>
Watch movie
</object>
<!–> <![endif]–>
Firefox works fine both content and video. In IE content is gone but video is fine.
When I viewed page source from IE, there are content part.
And I try this:
<object width=”300″ height=”273″ type=”video/x-ms-asf” data=”https://www.sample.com/sample.asx”>
<param name=”url” value=”https://www.sample.com/sample.asx” />
<param name=”bgcolor” value=”ffffff” /><img width=”300″ height=”273″ class=”image” title=”No flash installed” alt=”No flash installed” src=”https://path-to/noflash.gif” /> </object>
Video isn’t played in IE