the Forum

Issue using mediaelement.js with IE7/8 blank video with sound

Posted on March 16, 2012 by Michael Rosario
Total Posts: 33  |  Join date: 03-12-11

So I'm using a plugin from mediaelementjs http://mediaelementjs.com/ to show an HTML5 video. It works great on Ipad, Iphone, IE9, FF, Safari, Chrome except my best friends IE7 and IE8. I hear the audio, but all I get is a blank screen. I tried checking the URLs, reconverted the video - but no dice. Ahhhh!

Tags: There are no tags for this entry.

3 answers, add yours below

Posted on on March 22, 2012 at 10:46am
by James

Hi Michael,

I had the same problem. I was able to make it work using the following code:
var player = new MediaElementPlayer('#player',{
 [
...]Your Code[...],
   
enableAutosizetrue,
   
success: function(playernode{
      player
.setVideoSize(480,325);
   


Hope that helps!

 

Posted on on August 16, 2012 at 5:07pm
by Jean-Patrick Smith

There's a position: absolute on the .me-plugin class which makes the video blank in IE8. After setting the .me-plugin class to position: static, it works.

Not sure why, but like many IE bugs the reason usually just makes you more upset anyways.

 

Posted on on May 22, 2013 at 1:28am
by Ruurd

Thanks James, that worked(/s).

 
add your answers here
comments powered by Disqus