8 Replies Latest reply: Oct 9, 2012 7:28 PM by vhinzkie
Anthony Mitchell Level 2 Level 2 (160 points)
We are having an issue viewing the podcasts we publish. The only browsers that works is Safari. At first I thought it was a Windows issue. The page loads but the videos never play. I made sure quicktime was working. I went directly to the link that the picture is pointing to and then the video plays. Firefox is the same issue. Chrome doesn't even load the picture. Same behavior on a Mac. We loaded Safari on windows and that works. I tried a different podcast server and its the same behavior. The server is 10.6.7.

Macbook, Mac OS X (10.6.7)
  • 1. Re: Only Safari can view podcast
    peacedotnik Level 1 Level 1 (10 points)
    Having the identical issue on my server as well.
  • 2. Re: Only Safari can view podcast
    sharpeteacher Level 1 Level 1 (15 points)
    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?
  • 3. Re: Only Safari can view podcast
    peacedotnik Level 1 Level 1 (10 points)
    Received this link from the Admin at the Podcast Producer listserv. It contains a script to run that restores functionality on (some) browsers:

    http://support.apple.com/kb/TS3747

    Have tested successfully on Firefox, but Chrome and Internet Explorer did not work (your results may vary as I am just now testing). Let me know how it works for you?
  • 4. Re: Only Safari can view podcast
    sharpeteacher Level 1 Level 1 (15 points)
    A million thanks! It works great in Firefox now. At least a large part of my users can at least view the videos now.

    Also, for some reason, Chrome has never worked for me. The video just disappears when clicked and never plays.

    Message was edited by: sharpeteacher
  • 5. Re: Only Safari can view podcast
    Anthony Mitchell Level 2 Level 2 (160 points)
    Thanks. Works on Firefox. Didn't work on Chrome. I still need to test IE, but Firefox is good for now.

    Anthony
  • 6. Re: Only Safari can view podcast
    Eric Givens Level 1 Level 1 (5 points)
    Confirmed this works on Firefox (Mac and PC) and Internet Explorer, but not on Chrome (Mac or PC) or, strangely enough, the latest nightly build of Webkit.
  • 7. Re: Only Safari can view podcast
    sharpeteacher Level 1 Level 1 (15 points)
    So you are seeing this work in Internet Explorer? What version of IE is working for you? I have yet to find a single machine that works with IE. They work fine with Firefox or Safari.

    Edit: Nevermind, I didn't notice they updated the patch. Will try shortly.

    Message was edited by: sharpeteacher
  • 8. Re: Only Safari can view podcast
    vhinzkie Level 1 Level 1 (0 points)

    I hope somebody else would jump in to offer solution.

     

    The 'fix" posted here seems to work only on 10.6, the structure I think had changed for 10.7.