Jump to content

Help with mediaelement.js player’s ‘poster’ image in IE8


Chrisj

Recommended Posts

I have tried other players and am now testing the mediaelement.js player, which works in all browsers, playing the video, and shows the 'poster' image in all browsers, except no 'poster' image appears in IE8.
 
As I know the "poster' isn't supported by IE8, I'm looking for help with a work-around to place a thumbnail image as a substitute (for IE8) for the 'poster' image. Any help will be appreciated. Here's my current code:
 
<video id="video" poster="http://www.-domain-.com/img/testImage.jpg" preload="none" controls="controls" width="240" height="220" >
<source type="video/mp4" src="http://www.-domain-.com/video/testVideo.mp4"/>
<object width="240" height="220" type="application/x-shockwave-flash" data="http://www.-domain-.com/mediaelement/flashmediaelement.swf">
 <param name="movie" value="http://www.-domain-.com/mediaelement/flashmediaelement.swf"     />    
<param name="flashvars" value="controls=true&file=http://www.-domain-.com/video/testVideo.mp4" />
<!-- Image as a last resort -->
<img src="http://www.-domain-.com/img/testImage.jpg" width="240" height="220" title="No video playback capabilities" />
</object>
</video>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.