While using Firefox's Error Console, I noticed an error "img.outerHTML is undefined" which lead me to the following line of code:
var QTMediaExpander=Class.createWithSharedInstance('qtMediaExpander',true);QTMediaE xpander.prototype={initialize:function(){bindEventListeners(this,['handleClick'] );this.mEmbedFrameID=0;this.findMedia();publisher().subscribe(function(){this.co llapseAllMedia()}.bind(this),'DIALOG_WILL_SHOW');publisher().subscribe(function( ){this.findMedia()}.bind(this),'DIALOG_HIDDEN');},findMedia:function(){$$('#page _body img.posterimg').each(function(img){if(img.onclick!=this.handleClick){img.onclic k=this.handleClick;img.setAttribute('tabindex','0');img.setAttribute('role','but ton');}}.bind(this));},collapseAllMedia:function(){if(!$('page_body'))return false;$$('#page_body div.qtmedia').each(function(div){var img=div.next('img');if(!img||!img.hasClassName('posterimg'))return false;div.remove();img.show();img.setAttribute('tabindex','0');img.setAttribute ('role','button');});$$('#page_body img.posterimg').each(function(img){img.onclick=invalidate;});},expandMedia:func tion(inImg,inOptBackgroundColor){var img=$(inImg);img.setAttribute('tabindex','0');img.setAttribute('role','button') ;if(img.innerHTML)img.innerHTML='';var fullSrcMatch=img.outerHTML.match(/longdesc\s*=\s*"([^"]+)"/i);if(!fullSrcMatch) fullSrcMatch=img.outerHTML.match(/name\s*=\s*"([^"]+)"/i);if(
fullSrcMatch)return;var fullSrc=fullSrcMatch[1];var backgroundColor=(inOptBackgroundColor||'#FFFFFF');if(img.width&&img.height&&ful lSrc&&fullSrc!=''){var extendHeight=(img.height>=20);var embed=Builder.node('div',{id:'qtmovie1',className:'qtmedia',style:'width:'+img. width+'px;height:'+(img.height+(extendHeight?12:0))+'px'});var alignMatch=img.className.match(/align\S+/);if(alignMatch)Element.addClassName(e mbed,alignMatch[0]);img.parentNode.insertBefore(embed,img);var objectHTML='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="'+img.width+'" height="'+(img.height+(extendHeight?16:0))+'" codebase="http://www.apple.com/qtactivex/qtplugin.cab"><param name="SRC" value="/collaboration/fake.qti"><param name="QTSRC" value="'+fullSrc+'?sessionID='+server().sessionID+'"><param name="TYPE" value="video/quicktime"><param name="SCALE" value="aspect"><param name="AUTOPLAY" value="true"><param name="CONTROLLER" value="true"><param name="TARGET" value="myself"><param name="BGCOLOR" value="'+backgroundColor+'"></object>';if(SafariFixes.isiPad){embed.innerHTML=' <video src="'+fullSrc+'" width="'+img.width+'" height="'+img.height+'" controls></video>';Element.hide(img);}
Is it possible the issue relates to how it embeds the quicktime object using expandMedia:function?