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
Comment #1
VM CreditAttribution: VM commentedmoving to 6.x-dev as that's where fixes would go.
Comment #2
VM CreditAttribution: VM commentedtitle alter
Comment #3
Jorrit CreditAttribution: Jorrit commentedFixed in 6.x-1.x, please test this in tomorrows -dev release.