Adding a video to a page in drupal and viewing it in IE6,7 or 8 can cause what appears to be a javascript error something like:
Line: 1
Char: 107 115 117
Error: 'null' is null or not an object
Code: 0
relating to this bit of code when debugging:
try { document.getElementById("").SetReturnValue(__flash__toXML(window.location.href.toString()) ); } catch (e) { document.getElementById("").SetReturnValue("<undefined/>"); }

After a bit of searching it appears that when IE is falling back to the flash player then it doesnt like the object element not having an id. See here for more details: http://flowplayer.org/forum/8/19192

To fix this simply modify theme/videojs.tpl.php
and add an id attribute to the element like so:

<object id="IE_NEEDS_AN_ID" class="vjs-flash-fallback"...

Comments

VM’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Status: Active » Needs review

moving to 6.x-dev as that's where fixes would go.

VM’s picture

Title: IE 6 7 8 crashes the browser - object id issue » IE 6 7 8 require object id or the browser crashes

title alter

Jorrit’s picture

Status: Needs review » Fixed

Fixed in 6.x-1.x, please test this in tomorrows -dev release.

Status: Fixed » Closed (fixed)

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