Thanks for a module that simplifies the job of playing media. I installed mediaelement and created some some content. So far it works well with firefox, chrome and ie9, but not ie8. Does anybody has any hints where I can start to fix it? There doesn't seem to be a lot of places to change the configuration of the module.

Comments

Weehaa’s picture

Same problem with ie8 in winXP

kitling55’s picture

I have to use ie8's compatibility view to make it work.

jmoughon’s picture

I am not able to get any of my videos to load in IE8. The first has no controls. The others do not show anything, empty space. It does not look like the js is completing the job...

jmoughon’s picture

<DIV style="WIDTH: 294px; HEIGHT: 165px" id=mep_0 class="mejs-container mediaelement-formatter-identifier-1345587478-0 mediaelement-processed mejs-video">
<DIV class=mejs-inner>
<DIV class=mejs-mediaelement><video style="WIDTH: 100%; HEIGHT: 100%" class="mediaelement-formatter-identifier-1345587478-0 mediaelement-processed" width="100%" height="100%" src="http://careertubetest.tamu.edu/sites/default/files/videos/big_buck_bunny_480p_h264.mov"></video></DIV>
<DIV class=mejs-layers></DIV>
<DIV class=mejs-controls></DIV>
<DIV class=mejs-clear></DIV></DIV></DIV>
nkruby’s picture

same issue, can't show the video even using compatibility view.

jdanthinne’s picture

Category: support » bug
Priority: Normal » Critical

In IE8, the following javascript error appears:
Object doesn't support this property or method in mediaelement-and-player.min.js on line 44 - col 103

jdanthinne’s picture

Status: Active » Needs review

Found the bug…
in mediaelement-and-player.min.js, I've replaced
if(d.indexOf(a)>-1)b=c
by
if(mejs.$.inArray(a,d)>-1)b=c
I'll open a ticket for that bug on mediaelement's github page

jmoughon’s picture

This helped out a bunch!

jdanthinne’s picture

Status: Needs review » Fixed

The bug has been fixed in the latest mediaelement release (2.9.3) : https://github.com/johndyer/mediaelement/commit/96a9f4ab0ad390a957672f92...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.