jQuery media plugin (javascript error with IE6 using the JW Player)
Hi Malsup,
First off! Great plugin...
I need to get the plugin going with IE6 (bummer but I needed to)...
I traced the code... and the JW Player (version 5) requires 'id' and 'name' set for the object tag.
You might want to roll this in your media plugin (see below).
Thanks!
/* generate function */
} else if ($.browser.msie) {
var pid = "play"+el.id; /* 'Id' and 'name' are required for the JW player to run with IE6 */
var a = ['<object id="'+pid+'" name="'+pid+'" width="'+opts.width+'" height="'+opts.height+'" '];
/* WAS THIS >>> var a = ['<object width="' + opts.width + '" height="' + opts.height + '" ']; */
...