[jQuery] Jquery Media plugin - fails in ie
I'm not sure if this is a problem with the media plugin (malsup.com)
or with swfobject, but in IE only, and only with flash content, there
is a runtime error when the <a> tags are inside tags. So this
below will work for the .wmv file but fall down on the flv.
<a class="video" href="video/secondary-assessment-effective-
questioning.wmv">Effective
Questioning (from Teachers' TV)</a>
<a href="video/test-flv.flv" class="video">Test flv video</a>
The jquery is simply:
$(document).ready(function() {
$('.video').media( { width: 320, height: 260, autoplay: false,
flashvars: { skin: 'video/snel-skin.swf' }
} );
$('.audio').media( { width: 320, height: 100, autoplay: false,
flashvars: { skin: 'video/snel-skin.swf' }
} );
});
Any ideas?
Matthew