Stu
Stu

Reputation: 11

IE Error - 0.url is null or not an object in line 692

I can't get this working in IE at all, I've tried IE7 and IE8(+ compat mode). I've searched the support, and see I'm the only person to have the problem.

This happens immediately when executing:

var player = new MediaElementPlayer('#player1');

So it's not even getting through the first line. Tracing it through, it seems to be because no media files are loaded, but this is loading the media files?

I also tried a single line:

$(document).ready(function(){
$("video,audio").mediaelementplayer(/* Options */);

});

still, same error. works in all other browsers, but unfortunately I need to support IE7+

Any pointers on how to get this going?

Upvotes: 1

Views: 929

Answers (1)

Janise Piombo
Janise Piombo

Reputation: 11

Did you make sure that the script is before the audio or video tags??

Check this: https://github.com/johndyer/mediaelement/issues/140

I faced the same issue and fixed by moving the media element script avobe the video tag.

Upvotes: 1

Related Questions