Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Site is crashing only Internet Explorer WordPress

  • SOLVED

I'm stumped. Been troubleshooting all day on this.

I'm about to launch this site and it's bug free in all major browsers except IE 7 an 8. Big surprise.

When trying to open the site in IE, the browser crashes...it throws an error message saying that there's a problem with the site and it couldn't be loaded...and that IE has to shut down.

Here's a link to the site:

http://www.thetechhusband.com/

I have made a number of customizations to this wootheme (the Beveled theme) via a child theme, but the issue doesn't seem to be related to the theme.

When I switch to twenty ten, the problem still exists.

I've checked this on two different PC's on two different internet connections with the same results.

I've checked the site with the w3 validator and it's mostly okay. With my custom child theme enabled, 7 of the errors are related to a Wistia embedded video. The other error seems minor (the Beveled demo has the same error and it loads fine in IE 7 and 8.)

So, something seems wrong above the theme level. When I switch to twentyten, there is no wistia video on the homepage, which i had suspected was the source of the problem, and the problem still exists.

So, I'm stumped. I've not touched any other files except those in my child theme directory, but it seems like something is broken somewhere above my theme directories.

The site is being hosted on zippykid/rackspace, and I'm starting to wonder if something at the server level is causing this.

I would be grateful for any help with this.

Thank you for your time.

Forest

Answers (5)

2012-02-02

Linda answers:

HI, I'm getting this in IE after it crashes. Maybe this is part of the problem?

<blockquote>Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; )


Message: 'u.body' is null or not an object
Line: 92
Char: 1457
Code: 0
URI: http://www.thetechhusband.com/wp-content/themes/beveled/includes/js/third-party.js?ver=3.3.1

</blockquote>


Linda comments:

Here is what lines 87 - 92 say

/*-----------------------------------------------------------------------------------*/
/* RESPOND.JS - Media query support for IE */
/*-----------------------------------------------------------------------------------*/
/*! Respond.js v1.0.1pre: min/max-width media query polyfill. © Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
(function(e,h){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=h;if(h)...........


According to the author's site IE 7 & IE 8 could hang for either of these reasons...

---Reportedly, if CSS files are encoded in UTF-8 with Byte-Order-Mark (BOM), they will not work with Respond.js in IE7 or IE8. Noted in issue #97
---WARNING: Including @font-face rules inside a media query will cause IE7 and IE8 to hang during load. To work around this, place @font-face rules in the wide open, as a sibling to other media queries.


Forest Linden comments:

Thank you, Linda.

Looking at that file at line 92, here's what I see:

http://screencast.com/t/KbwBCqVE3Ot

I don't know javascript at all, but skimming through that block of code, I noticed the ActiveXObject, which is the second red arrow down.

I also notice that the comment for this section has something to do with media queries and IE, so we're getting closer.

We're still missing some pieces of the puzzle though. I'm still looking for this E-v1,iframe-v1.js file...

Thanks for your help everyone. :)

It's been a long day with this problem...


Forest Linden comments:

okay. Found the E-v1 javascript file. It's related to wistia.

Looking in the firebug console, the source of it is: http://fast.wistia.com/static/concat/E-v1,iframe-v1.js?1328034200

When I go to that url, the contents of the file I see are:

var __slice=Array.prototype.slice,__bind=function(a,b){return function(){return a.apply(b,arguments)}},__hasProp=Object.prototype.hasOwnProperty,__extends=function(a,b){function d(){this.constructor=a}for(var c in b)__hasProp.call(b,c)&&(a[c]=b[c]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};(function(a){var b;b=a.Wistia;if(a.Wistia==null||a.Wistia.wistia==null)a.Wistia={wistia:"1.0",extend:function(){var a,b,c,d,e;a=arguments[0],c=2<=arguments.length?__slice.call(arguments,1):[],c.length||(c=[a],a=this);for(d=0,e=c.length;d<e;d++)b=c[d],this.obj.eachDeep(b,__bind(function(b,c){var d;d=this.obj.get(a,c);if(this.obj.isArray(b)){if(this.obj.isEmpty(d))return this.obj.set(a,c,[])}else{if(!this.obj.isObject(b))return this.obj.set(a,c,b);if(this.obj.isEmpty(d))return this.obj.set(a,c,{})}},this));return a},obj:{get:function(a,b,c){var d;typeof b=="string"?b=b.split("."):b=b.slice(0,b.length);while(a!=null&&b.length)d=b.shift(),(a[d]===void 0||!this.isObject(a[d]))&&c&&(a[d]={}),a=a[d];return a},set:function(a,b,c){var d;typeof b=="string"?b=b.split("."):b=b.slice(0,b.length),d=b.pop(),a=this.get(a,b,!0);if(a!=null&&(this.isObject(a)||this.isArray(a))&&d!=null)return c!=null?a[d]=c:delete a[d]},unset:function(a,b){return this.set(a,b)},exists:function(a,b){return this.get(a,b)!==void 0},cast:function(a){return a==null?a:(a=""+a,/^\d+?$/.test(a)?parseInt(a,10):/^\d*\.\d+/.test(a)?parseFloat(a):/^true$/i.test(a)?!0:/^false$/i.test(a)?!1:a)},castDeep:function(a){return this.eachLeaf(a,__bind(function(b,c){if(typeof b=="string")return this.set(a,c,this.cast(b))},this)),a},isArray:function(a){return a!=null&&/^\s*function Array()/.test(a.constructor)},isObject:function(a){return a!=null&&/^\s*function Object()/.test(a.constructor)},isRegExp:function(a){return a!=null&&/^\s*function RegExp()/.test(a.constructor)},isBasicType:function(a){return a!=null&&(this.isRegExp(a)||/^string|number|boolean|function$/i.test(typeof a))},isEmpty:function(a){var b,c,d;if(a==null)return!0;if(this.isArray(a)&&!a.length)return!0;if(this.isObject(a)){b=!0;for(c in a)d=a[c],b=!1;return b}return!1},isEmptyDeep:function(a){var b;return this.isEmpty(a)?!0:(b=!0,this.eachLeaf(a,__bind(function(){return b=!1},this)),b)},isSubsetDeep:function(a,b){var c;return a===b?!0:a!=null&&b==null||a==null&&b!=null?!1:(c=!0,this.eachLeaf(a,__bind(function(a,d){var e;e=this.get(b,d);if(a!==e)return c=!1},this)),c)},equalsDeep:function(a,b){return this.isSubsetDeep(a,b)&&this.isSubsetDeep(b,a)},eachDeep:function(a,b,c){var d,e,f;c==null&&(c=[]);if(this.isBasicType(a))b(a,c);else if(this.isObject(a)||this.isArray(a)){b(a,c);for(d in a)f=a[d],e=c.slice(0,c.length),e.push(d),this.eachDeep(f,b,e)}else b(a,c)},eachLeaf:function(a,b){return this.eachDeep(a,__bind(function(a,c){if(!this.isArray(a)&&!this.isObject(a))return b(a,c)},this))}},data:function(a,b){return this.obj.isArray(a)||(a=a.split(".")),b!=null&&this.obj.set(this,["_data"].concat(a),b),this.obj.get(this,["_data"].concat(a))},timeout:function(a,b,c){var d;return c==null&&(c=1),this.clearTimeouts(a),this.obj.isArray(a)||(a=a.split(".")),a=["timeouts"].concat(a),b?(d=setTimeout(__bind(function(){return this.removeData(a),b()},this),c),this.data(a,d)):this.data(a)},clearTimeouts:function(a){var b;return this.obj.isArray(a)||(a=a.split(".")),a=["timeouts"].concat(a),b=this.data(a),this.obj.eachLeaf(b,function(a){return clearTimeout(a)}),this.removeData(a)},removeData:function(a){return this.obj.unset(this,["_data"].concat(a))},seqId:function(a,b){var c,d,e;return a==null&&(a="wistia_"),b==null&&(b=""),e=["sequence","val"],c=this.data(e)||1,d=a+c+b,this.data(e,c+1),d},noConflict:function(){return a.Wistia=b,this}};if(b!=null&&b.wistia==null)return Wistia.extend(b)})(window),function(a){a.extend({_detect:{na:navigator.userAgent,rwebkit:/(webkit)[ \/]([\w.]+)/i,ropera:/(opera)(?:.*version)?[ \/]([\w.]+)/i,rmsie:/(msie) ([\w.]+)/i,rmozilla:/(mozilla)(?:.*? rv:([\w.]+))?/i,randroid:/(android) ([^;])/i,riphone:/(iphone)/i,ripad:/(ipad)/i,browser:function(){return this.browserMatch()[1].toLowerCase()},browserVersion:function(){return this.browserMatch()[2]},browserMatch:function(){return this.na.match(this.rwebkit)||this.na.match(this.ropera)||this.na.match(this.rmsie)||this.na.match(this.rmozilla)},android:function(){var a;return a=this.na.match(this.randroid),a==null?!1:{version:a[2]}},iphone:function(){return this.riphone.test(this.na)},ipad:function(){return this.ripad.test(this.na)},flash:function(){var a;return a=this.flashFullVersion(),{version:parseFloat(a[0]+"."+a[1]),major:parseInt(a[0],10),minor:parseInt(a[1],10),rev:parseInt(a[2],10)}},flashFullVersion:function(){var a;try{try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{a.AllowScriptAccess="always"}catch(b){return[6,0,0]}}catch(b){}return(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",")}catch(b){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",")}catch(b){}}return[0,0,0]},html5Video:function(){var a,b,c;a=document.createElement("video"),c=!1;try{!a.canPlayType||(c={},b='video/mp4; codecs="avc1.42E01E',c.h264=!!a.canPlayType(b+'"')||!!a.canPlayType(b+', mp4a.40.2"'))}catch(d){c={h264:!1}}return c}}}),a.extend({detect:{browser:{version:a._detect.browserVersion(),quirks:a._detect.browser()==="msie"&&document.compatMode==="BackCompat",old:a._detect.browser()==="msie"&&(document.compatMode==="BackCompat"||a._detect.browserVersion()<7)},android:a._detect.android(),iphone:a._detect.iphone(),ipad:a._detect.ipad(),flash:a._detect.flash(),video:a._detect.html5Video()}}),a.detect.browser[a._detect.browser()]=!0}(Wistia),function(a){var b,c,d,e;c=function(a){return a.mp4hq||a.flv||a.iphone},d=function(a){return a.mp4hq||a.iphone},b=function(a){return a.iphone},e=function(a){return a.mp4hq&&a.mp4hq.width<=1280&&a.mp4hq.height<=720?a.mp4hq:a.iphone},a.extend({judy:{judge:function(f,g){var h,i,j,k;return g||(g={}),j=g.plea,i=g.force,k={media:f,plea:i||j,uuid:g.uuid||a.seqId("wistia_"),asset:null,embedType:null},h=f.assets,i==="html5"?(k.embedType="html5",k.asset=d(h)):i==="flash"?(k.embedType="flash",k.asset=c(h)):i==="external"?(k.embedType="external",k.asset=b(h)):a.detect.iphone?(k.embedType="html5",k.asset=b(h)):a.detect.ipad?(k.embedType="html5",k.asset=e(h)):a.detect.android?(k.embedType="external",k.asset=b(h)):j==="html5"&&a.detect.video.h264?(k.embedType="html5",k.asset=d(h)):j==="flash"&&a.detect.flash.version>=7?(k.embedType="flash",k.asset=c(h)):j==="external"?(k.embedType="external",k.asset=b(h)):a.detect.flash.version>=7?(k.embedType="flash",k.asset=c(h)):a.detect.video.h264?(k.embedType="html5",k.asset=d(h)):a.detect.browser.msie&&(a.detect.browser.version<9||a.detect.browser.quirks)||a.detect.browser.mozilla?(k.embedType="flash",k.asset=c(h)):(k.embedType="external",k.asset=c(h)),k}}})}(Wistia),function(a){a.extend({embed:function(b,c){var d,e,f;return c||(c={}),f=new a._embed.Video({},c),d=a._embed.getContainer(b,c),a.gridify&&!f.params.noGrid?f.grid=a.gridify(f,d):c.wmode!=="transparent"&&(d.style.backgroundColor="#000000"),e=function(b){var c,d,e,g,h;if(b.error){typeof console!="undefined"&&console!==null&&console.log(b.error);return}d=a.judy.judge(b,f.params),h=a._embed.classFor(d.embedType),g=new h(d,f.options);for(c in g)e=g[c],f[c]=e;a.data(["video",g.data.uuid],f),f.embed()},setTimeout(function(){var c;return typeof b=="string"?(c=b,a.remote.media(c,function(a){return e(a)})):e(b)},100),f},_embed:{getContainer:function(a,b){return typeof b.container=="string"?document.getElementById(b.container):typeof a=="string"?document.getElementById("wistia_"+a):a&&a.media?document.getElementById("wistia_"+a.media.hashedId):null},classFor:function(b){switch(b){case"html5":return a._embed.Html5Video;case"flash":return a._embed.FlashVideo;case"external":return a._embed.ExternalVideo;default:return a._embed.Video}}}})}(Wistia),function(a){var b,c,d,e,f,g;return a.extend({util:{addInlineCss:function(b,c){var d,e;d=document.createElement("style"),d.id=a.seqId("wistia_","_style"),d.setAttribute("type","text/css"),e=document.getElementsByTagName("style"),b.appendChild(d,b.nextSibling),d.styleSheet?d.styleSheet.cssText=c:d.appendChild(document.createTextNode(c))},objToHtml:function(b){var c,d,e,f,g,h,i,j,k,l,m,n;if(/string|number|boolean/.test(typeof b))return b.toString();if(b instanceof Array){h="";for(k=0,m=b.length;k<m;k++)f=b[k],h+=a.util.objToHtml(f);return h}if(typeof b!="object")return b.toString();d=[];for(g in b)j=b[g],g==="tagName"?i=j:g==="childNodes"?e=j:d.push({key:g,val:j});i||(i="div"),h="<"+i;for(l=0,n=d.length;l<n;l++)c=d[l],h+=" "+c.key+'="'+c.val+'"';return/^(br|hr|img|link|meta|input)$/i.test(i)?h+=" />":(h+=">",e&&(typeof e=="string"?h+=e:typeof e=="object"&&(h+=a.util.objToHtml(e))),h+="</"+i+">"),h}}}),e=function(a){var b,c,d;c=[];for(b in a)d=a[b],c.push(""+b+"="+encodeURIComponent(d));return c.join("&")},f=function(a,b){return"display:inline-block;*display:inline;height:"+b+";margin:0;padding:0;position:relative;vertical-align:top;width:"+a+";zoom:1;"},c=function(b,c){var d,g,h,i,j,k,l,m;d=b.asset,j=b.media,c=a.extend({flashPlayerUrl:null,pageUrl:null,chromeless:!1,doNotTrack:!1,endVideoCallback:"",controlsVisibleOnLoad:!1,autoLoad:!1,autoPlay:!1,endVideoBehavior:"default",playButton:!0,wmode:"opaque",playerColor:"",smallPlayButton:!0,volumeControl:!1,playbar:!0,fullscreenButton:!0,stillUrl:j.assets.still?j.assets.still.url:""},c),c.unbufferedSeek=d.type==="flv",c.shouldTrack=!c.doNotTrack,h={videoUrl:d.url,hdUrl:j.assets.hdflv?j.assets.hdflv.url:"",stillUrl:c.stillUrl,unbufferedSeek:d.type==="flv",controlsVisibleOnLoad:c.controlsVisibleOnLoad,autoLoad:c.autoLoad,autoPlay:c.autoPlay&&!c.suppressAutoplay,endVideoBehavior:c.endVideoBehavior,playButtonVisible:c.playButton,mediaDuration:j.duration,customColor:c.playerColor,wemail:c.trackEmail,referrer:c.pageUrl,quality:c.videoQuality,chromeless:c.chromeless?!0:null,endVideoCallback:c.endVideoCallback?c.endVideoCallback:null,showVolume:c.volumeControl?!0:null,showPlaybar:c.playbar===!1?!1:null,showPlayButton:c.smallPlayButton===!1?!1:null,fullscreenDisabled:c.fullscreenButton===!1?!0:null,trackingTransmitInterval:c.trackingTransmitInterval?c.trackingTransmitInterval:null},c.shouldTrack&&(h.embedServiceURL=j.distilleryUrl,h.accountKey=j.accountKey,h.mediaID=j.mediaKey);for(i in h)m=h[i],m==null&&delete h[i];return k={tagName:"object",id:b.uuid,classid:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",style:f("100%","100%")},c.wmode!=="transparent"&&(k.bgcolor="#000000"),l=[{tagName:"param",name:"movie",value:c.flashPlayerUrl||j.flashPlayerUrl},{tagName:"param",name:"allowfullscreen",value:"true"},{tagName:"param",name:"allowscriptaccess",value:"always"},{tagName:"param",name:"wmode",value:c.wmode},{tagName:"param",name:"flashvars",value:e(h)}],g={tagName:"embed",src:c.flashPlayerUrl||j.flashPlayerUrl,name:b.uuid,type:"application/x-shockwave-flash",allowfullscreen:"true",allowscriptaccess:"always",wmode:c.wmode,flashvars:e(h),style:f("100%","100%")},c.wmode!=="transparent"&&(g.bgcolor="#000000"),k.childNodes=l.concat(g),a.detect.browser.msie&&(a.detect.browser.version<9||a.detect.browser.quirks)&&a.detect.flash.version<7&&(k.childNodes=[{style:"background:#666;color:#fff;height:100%;width:100%;","class":"noflash",childNodes:['Whoops! It looks like Flash isn\'t installed. Please \n<a href="http://get.adobe.com/flashplayer/" style="color:white;text-decoration:underline;" target="_blank">\ndownload and install Adobe\'s Flash Player plugin\n</a>\nto watch this video.']}]),a.util.objToHtml(k)},d=function(b,c){var d,e,f,g;return d=b.asset,e=b.media,c=a.extend({autoLoad:!0,autoPlay:!1,doNotTrack:!1,stillUrl:e.assets.still?e.assets.still.url:""},c),c.shouldTrack=!c.doNotTrack,g=document.createElement("video"),g.style.width="100%",g.style.height="100%",g.style.position="relative",g.style.display="block",g.controls="controls",g.id=b.uuid,g.poster=c.stillUrl,g.preload="none",c.autoPlay&&!c.suppressAutoplay&&(g.autoplay="autoplay"),f=document.createElement("source"),f.src=d.url.replace(/\.bin$/,"")+"/file.mp4",f.type="video/mp4",g.appendChild(f),g},b=function(b,c){var d,e,h,i;return e=b.asset,i=b.media,c=a.extend({playButton:!0,stillUrl:i.assets.still?i.assets.still.url.replace(/\.bin$/,".jpg?image_play_button=1"):""},c),d={tagName:"a",href:e.url,id:b.uuid,target:"_parent",style:f("100%","100%")},h={tagName:"img",src:g(b,c),border:0,alt:"Play video",style:"height:100%;vertical-align:top;width:100%;"},d.childNodes=[h],a.util.objToHtml(d)},g=function(a,b){var c;return c=a.media,b.playButton?c.assets.still.url.replace(/\.bin$/,".jpg?image_play_button=1&image_crop_resized="+b.videoWidth+"x"+b.videoHeight):c.assets.still.url.replace(/\.bin$/,".jpg?image_crop_resized="+b.videoWidth+"x"+b.videoHeight)},a.extend({generate:{video:function(a,e,f){if(a==="flash")return c(e,f);if(a==="html5")return d(e,f);if(a==="external")return b(e,f);if(a==="stillUrl")return g(e,f)}}})}(Wistia),function(a){a._embed.Video=function(){function b(b,c){var d;this.data=b,this.options=c,this.params=a.extend(this.params||{},this.options),this.params.container=a._embed.getContainer(this.data,this.options),this.params.uuid?this.uuid=this.params.uuid:this.params.container&&this.params.container.id?this.uuid=this.params.container.id:this.uuid=this.data.uuid,this.options.platformPreference&&(this.params.plea=this.options.platformPreference),this.params.shouldTrack=!this.options.doNotTrack,this.options.playButtonVisible!=null&&(this.params.playButton=this.options.playButtonVisible),this.params.rawEmbed=top===self,this.params.aspectRatio=this.params.videoWidth/this.params.videoHeight,this.params.playerColor||(this.params.playerColor="636155"),this.params.trackEmail||(d=location.href.match(/wemail\=([^\&]+)/))!=null&&(this.params.trackEmail=d[1]),this.params.stillUrl||(this.params.stillUrl=a.obj.exists(this.data,"media.assets.still.url")?this.data.media.assets.still.url:"")}return b.prototype.embed=function(){return this.embedAs(this.embedType)},b.prototype.embedAs=function(b){return this.container=this.params.container,this.embedCode=a.generate.video(b,this.data,this.params),this.placeEmbed(this.embedCode),this},b.prototype.placeEmbed=function(a){var b;return b=this.grid&&this.grid.center||this.container,typeof a=="string"?b.innerHTML=a:(b.innerHTML="",b.appendChild(a))},b.prototype.rebuildAs=function(b){var c,d,e,f,g;d=a.judy.judge(this.data.media,{force:b}),g=a._embed.classFor(d.embedType),f=new g(d,this.options);for(c in f)e=f[c],this[c]=e;return a.clearTimeouts(this.uuid),this._isReady=!1,this.embed(this.params.container),this},b.prototype.remove=function(){a.clearTimeouts(this.uuid),a._data.video[this.data.uuid]=null,delete a._data.video[this.data.uuid],this.container.innerHTML=""},b.prototype.bind=function(a,b){return this._bindings||(this._bindings={}),this._bindings[a]||(this._bindings[a]=[]),this._bindings[a].push(b),this},b.prototype.unbind=function(a,b){var c,d,e,f;c=this._bindings[a];if(c)if(b){e=[];for(d=0,f=c.length;0<=f?d<f:d>f;0<=f?d++:d--)b!==c[d]&&e.push(c[d]);this._bindings[a]=e}else this._bindings[a]=[];return this._bindings[a]&&!this._bindings[a].length&&(this._bindings[a]=null,delete this._bindings[a]),this},b.prototype.hasBindings=function(){var a,b,c,d;b=!1,d=this._bindings;for(a in d)c=d[a],this._bindings.hasOwnProperty(a)&&(b=!0);return b},b.prototype.trigger=function(){var a,b,c,d,e,f;d=arguments[0],a=2<=arguments.length?__slice.call(arguments,1):[];if(b=this._bindings[d])for(e=0,f=b.length;e<f;e++)c=b[e],c&&c.apply(this,a);return this},b.prototype._eventLoopDuration=300,b.prototype.play=function(){return this.ready("play")},b.prototype.pause=function(){return this.ready("pause")},b.prototype.time=function(a){if(a!=null)return this.ready("time",a),this},b.prototype.state=function(){return"unknown"},b.prototype.duration=function(){return 0},b.prototype.getEventKey=function(){return null},b.prototype.volume=function(a){return a!=null?this.ready("volume",a):0},b.prototype.setPlayerColor=function(a){return this.ready("setPlayerColor",a),this},b.prototype.ready=function(){var a,b,c,d,e,f;b=arguments[0],a=2<=arguments.length?__slice.call(arguments,1):[],this._readyQueue||(this._readyQueue=[]);if(this._isReady){b&&this._readyQueue.push({callback:b,args:a}),f=this._readyQueue;for(d=0,e=f.length;d<e;d++)c=f[d],typeof c.callback=="string"?this[c.callback].apply(this,c.args):c.callback.apply(this,c.args);this._readyQueue=[]}else b&&this._readyQueue.push({callback:b,args:a});return this},b.prototype.width=function(b){var c;return b!=null?(this.grid?(c=this.width()-a.util.elemWidth(this.grid.main),this.container.style.width=this.grid.wrapper.style.width=""+b+"px",this.grid.main.style.width=""+Math.max(0,b-c)+"px",a.grid.fitHorizontal(this),a.grid.fitVertical(this)):this.container.width=""+b+"px",this):this.grid?a.util.elemWidth(this.grid.left)+a.util.elemWidth(this.grid.main)+a.util.elemWidth(this.grid.right):a.util.elemWidth(this.container)},b.prototype.height=function(b){var c;return b!=null?(this.grid?(c=this.height()-a.util.elemHeight(this.grid.center),this.container.style.height=this.grid.wrapper.style.height=""+b+"px",this.grid.main.style.height=""+Math.max(0,b-c)+"px",a.grid.fitHorizontal(this),a.grid.fitVertical(this)):this.container.width=""+b+"px",this):this.grid?Math.max(a.util.elemHeight(this.grid.above),a.util.elemHeight(this.grid.top))+a.util.elemHeight(this.grid.main)+Math.max(a.util.elemHeight(this.grid.below),a.util.elemHeight(this.grid.bottom)):a.util.elemHeight(this.container)},b.prototype.setEmail=function(a){return this.params.trackEmail=a},b.prototype.getVisitorKey=function(){return this.tracker?this.tracker.visitorKey():""},b.prototype.getEventKey=function(){return this.tracker?this.tracker.eventKey():""},b}()}(Wistia),function(a){a._embed.FlashVideo=function(){function b(){b.__super__.constructor.apply(this,arguments)}return __extends(b,a._embed.Video),b.prototype.embedType="flash",b.prototype.elem=function(){return document[this.data.uuid]},b.prototype.embed=function(){var c;return b.__super__.embed.call(this),this._lastTimePosition=0,a.timeout(""+this.uuid+".quick_repair",__bind(function(){this.isBroken()&&(a.clearTimeouts(this.uuid),this.repair())},this),50),c=__bind(function(b){if(b>=50)return;this.elem()&&this.elem().getCurrentTime?this.isBroken()||a.timeout(""+this.uuid+".ready_delay",__bind(function(){this._isReady=!0,this.ready(),this.listenForEvents();if(!this.tracker)return this.tracker=a.tracker(this)},this),200):a.timeout(""+this.uuid+".ready_check",__bind(function(){return c.call(this,b+1)},this),200)},this),c(),this},b.prototype.remove=function(){return a.clearTimeouts(this.uuid),b.__super__.remove.call(this)},b.prototype.listenForEvents=function(){this._fireIfChanged=__bind(function(){var b,c;if(!this.hasBindings())return;a.timeout(""+this.uuid+".fire_if_changed",__bind(function(){return this._fireIfChanged.call(this)},this),this._eventLoopDuration),b=this.state(),c=this.time(),b!==this._lastState&&(b==="playing"?this.trigger("play"):b==="paused"?this.trigger("pause"):b==="ended"&&this.trigger("end")),c!==this._lastTimePosition&&(this.trigger("timechange",c),this._lastTimePosition=c),this._lastState=b},this),this._fireIfChanged.call(this)},b.prototype.bind=function(){var c;c=1<=arguments.length?__slice.call(arguments,0):[],b.__super__.bind.apply(this,c);if(a.timeout(""+this.uuid+".fire_if_changed")==null){if(!this._isReady)return this.ready("listenForEvents");this.listenForEvents()}return this},b.prototype.play=function(){return this._isReady?(this.elem().videoPlay(),this):this.ready("play")},b.prototype.pause=function(){return this._isReady?(this.elem().videoPause(),this):this.ready("pause")},b.prototype.time=function(a){var b,c,d;return a!=null&&!this._isReady?this.ready("time",a):a!=null?(d=this.state(),d==="unknown"?(this.elem().videoPlay(),c=this,b=function(){return c.unbind("timechange",b),c.elem().videoSeek(a)},this.bind("timechange",b)):(this.elem().videoSeek(a),(d==="paused"||d==="ended")&&this.pause()),this):this.elem().getCurrentTime()},b.prototype.state=function(){try{switch(this.elem().getCurrentState()){case 0:return"ended";case 1:return"playing";case 2:return"paused";default:return"unknown"}}catch(a){return"unknown"}},b.prototype.volume=function(a){var b;return a&&!this._isReady?this.ready("volume",a):a!=null?(this.elem().setVolume(Math.min(Math.round(a*100),100)),this):(b=this.elem().getVolume(),b>0&&(b/=100),b)},b.prototype.duration=function(){return this.data.media.duration},b.prototype.outsideContainer=function(){var a;a=this.elem();while(a.nodeType===1){a=a.parentNode;if(a===this.container)return!1}return!0},b.prototype.ctfBlocked=function(){return document.getElementById("CTFstack")&&this.outsideContainer()},b.prototype.chromeFlashBlocked=function(){var b,c;if(a.detect.browser.webkit&&this.elem())return b=this.elem().parentNode.previousSibling,b&&(c=b.childNodes[0]),c&&c.getAttribute("style")&&c.getAttribute("style").indexOf("gofhjkjmkpinhpoiabjplobcaignabnl")!==-1},b.prototype.ffFlashBlocked=function(){var a;return a=this.container.childNodes[0],a&&a.getAttribute("bgactive")&&a.getAttribute("bgactive").indexOf("flashblock")!==-1},b.prototype.isBlocked=function(){return a.detect.flash.version>=7&&(this.ctfBlocked()||this.chromeFlashBlocked())},b.prototype.isBroken=function(){return a.detect.flash.version<7||this.isBlocked()},b.prototype.repair=function(){this.isBlocked()&&a.detect.video.h264&&(a.clearTimeouts(this.uuid),this.rebuildAs("html5"))},b.prototype.getEventKey=function(){try{return this.elem().getEventKey()}catch(a){return""}},b.prototype.setPlayerColor=function(a){this.params.playerColor=a,this._isReady?this.elem().changeColor(a):this.ready("setPlayerColor",a)},b.prototype.setEmail=function(a){return b.__super__.setEmail.call(this,a),this.elem().setEmail(a)},b}()}(Wistia),function(a){var b;b=function(a,b,c){var d;d=__bind(function(){return a.removeEventListener(b,d),c()},this),a.addEventListener(b,d)},a._embed.Html5Video=function(){function c(){c.__super__.constructor.apply(this,arguments)}return __extends(c,a._embed.Video),c.prototype.embedType="html5",c.prototype.elem=function(){return document.getElementById(this.data.uuid)},c.prototype.embed=function(){return this.hasPreRoll?this.embedExternal():this.embedHtml5(),this.hasPostRoll&&(this.preloadStill(),this.bind("end",__bind(function(){return this.embedExternal()},this))),this},c.prototype.preloadStill=function(){var b;return b=new Image,this.options.playButton?b.src=a.generate.video("stillUrl",this.data,this.params):b.src=a.generate.video("stillUrl",this.data,this.params)},c.prototype.embedExternal=function(){var a;return this.tracker&&this.tracker.stopMonitoring(),a=this.params.playButton,this.params.playButton=this.options.playButton,this.embedAs("external"),this.params.playButton=a,this._isReady=!0,this.ready(),this.elem().addEventListener("click",__bind(function(a){return a.preventDefault(),this.embedHtml5(),this.play()},this))},c.prototype.embedHtml5=function(){return this._isReady=!1,this.embedAs("external"),this.embedAs("html5"),this.tracker||(this.tracker=a.tracker(this)),this.params.shouldTrack&&this.ready(__bind(function(){return this.tracker.monitor()},this)),this.elem().addEventListener("playing",__bind(function(){return this.trigger("play")},this)),this.elem().addEventListener("pause",__bind(function(){return this.trigger("pause")},this)),this.elem().addEventListener("ended",__bind(function(){return this.trigger("end")},this)),this._isReady=!0,this.ready(),this.listenForEvents()},c.prototype.remove=function(){return a.clearTimeouts(this.uuid),c.__super__.remove.call(this)},c.prototype.listenForEvents=function(){this._bindings||(this._bindings={}),this._fireIfChanged=__bind(function(){var b;if(!this.hasBindings())return;a.timeout(""+this.uuid+".fire_if_changed",__bind(function(){return this._fireIfChanged.call(this)},this),this._eventLoopDuration),(b=this.time())!==this._lastTimePosition&&(this.trigger("timechange",b),this._lastTimePosition=b)},this),this._fireIfChanged()},c.prototype.bind=function(){var b;return b=1<=arguments.length?__slice.call(arguments,0):[],c.__super__.bind.apply(this,b),a.timeout(""+this.uuid+".fire_if_changed")||this.listenForEvents(),this},c.prototype.play=function(a){if(/video/i.test(this.elem().tagName)){if(!this._isReady)return this.ready("play");this.elem().play()}else this.embedHtml5(),this.play();return this},c.prototype.pause=function(){return this._isReady?(this.elem().pause(),this):this.ready("pause")},c.prototype.time=function(a){return a&&!this._isReady?this.ready("time",a):a!=null?(this.state()==="unknown"?(b("playing",__bind(function(){b(this.elem(),"seeked",__bind(function(){return this.pause()},this)),this.elem().currentTime=a},this)),this.play()):this.elem().currentTime=a,this):this.elem().currentTime},c.prototype.state=function(){try{return this.elem().ended?"ended":this.elem().played.length===0?"paused":this.elem().paused?"paused":"playing"}catch(a){return"unknown"}},c.prototype.volume=function(a){return a&&!this._isReady?this.ready("volume",a):a!=null?(this.elem().volume=a,this):this.elem().volume},c.prototype.duration=function(){return this.data.media.duration},c.prototype.setPlayerColor=function(){},c}()}(Wistia),function(a){a._embed.ExternalVideo=function(){function b(){b.__super__.constructor.apply(this,arguments)}return __extends(b,a._embed.Video),b.prototype.embedType="external",b.prototype.elem=function(){return document.getElementById(this.data.uuid)},b.prototype.embed=function(c){return b.__super__.embed.call(this,c),this.params.stillUrl=this.elem().childNodes[0].src,this.elem().addEventListener("click",__bind(function(){return this.trigger("play"),a.timeout(""+this.uuid+".fake_video_end",__bind(function(){return this.trigger("end")},this),500),!1},this)),this._isReady=!0,this.ready(),this},b.prototype.duration=function(){return this.data.media.duration},b}()}(Wistia),function(a){return a.extend({tracker:function(b,c){return new a.VideoTracker(b,c||{})}}),a.VideoTracker=function(){function k(c,d){this.video=c,this.options=d,this.params=a.extend({transmitInterval:1e4},this.options),e=[],b=(new Date).getTime(),this._eventKey=this.newEventKey(),this._visitorKey=this.visitorKeyFromCookie()||this.newVisitorKey(),this.log("initialized"),this.video.embedType==="html5"&&this.transmit(),this}var b,c,d,e,f,g,h,i,j;return i=h=g=j=function(){},f=!1,c="",d="",b=0,e=[],k.prototype._dataPrefix=function(){var a;return a='{\n"account_key":"'+this.video.data.media.accountKey+'",\n"session_id":"'+this._visitorKey+'",\n"media_id":"'+this.video.data.media.mediaKey+'",\n"event_key":"'+this._eventKey+'",\n"media_duration":'+parseFloat(this.video.data.media.duration)+',\n"referrer":"'+(this.video.params.pageUrl||window.location.href)+'",',this.video.params.trackEmail&&(a+='"email":"'+this.video.params.trackEmail+'",'),a+='"event_details":[',a},k.prototype._dataSuffix=function(){return"]}"},k.prototype.visitorKeyFromCookie=function(){var a,b,c,d;a=document.cookie.split("; "),b=0,d=[];while(b<a.length){c=a[b].split("=");if(c[0]==="__distillery")return c[1];d.push(b++)}return d},k.prototype.newVisitorKey=function(){var a,b;return b=(new Date).getTime().toString()+"-"+Math.random(),a=new Date,a.setTime(a.getTime()+31536e6),document.cookie="__distillery="+b+"; expires="+a.toGMTString()+"; path=/",b},k.prototype.newEventKey=function(){return this.video.embedType==="flash"?this.video.getEventKey():(new Date).getTime().toString()+"e"+Math.random()},k.prototype.monitor=function(){i=__bind(function(){this.log("play")},this),h=__bind(function(){Math.abs(this.video.duration()-this.video.time())>.3&&this.log("pause")},this),g=__bind(function(){this.log("end"),this.transmit()},this),j=__bind(function(a){Math.abs(this.video._lastTimePosition-a)>=5&&this.log("seek")},this),f=!0,this.video.bind("play",i),this.video.bind("pause",h),this.video.bind("end",g),this.video.bind("timechange",j),a.timeout(""+this.uuid+".start_tracking_timeout",__bind(function(){var b;b=__bind(function(){return this.video.state()==="playing"&&this.log("update"),this.transmit(),a.timeout(""+this.uuid+".tracking_loop",b,this.params.transmitInterval)},this),a.timeout(""+this.uuid+".tracking_loop",b,this.params.transmitInterval),this.transmit()},this),Math.random()*this.params.transmitInterval+1e3),this.video.state()==="playing"&&i()},k.prototype.stopMonitoring=function(){f=!1,this.video.unbind("play",i),this.video.unbind("pause",h),this.video.unbind("end",g),this.video.unbind("timechange",j)},k.prototype.postToDistillery=function(a){var b;b=window.XDomainRequest?new window.XDomainRequest:new window.XMLHttpRequest,b.open("POST",""+this.video.data.media.distilleryUrl+"?data="+encodeURIComponent(a),!0),b.send()},k.prototype.transmit=function(){var b;if(this.video.params.doNotTrack)return;e.length!==0&&(b=this._dataPrefix()+e.join(",")+this._dataSuffix(),this.postToDistillery(a.base64.encode(b)),e=[])},k.prototype.log=function(a){var c,d;if(this.video.params.doNotTrack)return;d=this.video.time(),d==null&&(this.video.state()==="unknown"?d=0:d=this.video.duration()),d=d.toFixed(1),c=(new Date).getTime()-b,e.push('{\n"key":"'+a+'",\n"value":'+d+',\n"timeDelta":'+c+"\n}")},k.prototype.visitorKey=function(){return this._visitorKey},k.prototype.eventKey=function(){return this._eventKey},k}()}(Wistia),Wistia.extend({base64:{_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){var b,c,d,e,f,g,h,i,j;i=0,j="";while(i<a.length)b=a.charCodeAt(i++),c=a.charCodeAt(i++),d=a.charCodeAt(i++),e=b>>2,f=(b&3)<<4|c>>4,g=(c&15)<<2|d>>6,h=d&63,isNaN(c)?g=h=64:isNaN(d)&&(h=64),j=j+this._keyStr.charAt(e)+this._keyStr.charAt(f)+this._keyStr.charAt(g)+this._keyStr.charAt(h);return j}}}),Wistia.extend({constant:{embedHost:"fast.wistia.com"},remote:{media:function(a,b){var c;Wistia.data(["remote-media",a])?W.timeout("remote-media."+a+"."+W.seqId(),function(){return b(Wistia.data(["remote-media",a]))}):(c=""+window.location.protocol+"//"+Wistia.constant.embedHost+"/embed/medias/"+a+".json",this.fetch(c,{},function(c){c.error?(Wistia.data(["remote-media",a],c),b(c)):(Wistia.data(["remote-media",a],c.media),b(c.media))},{onerror:function(){window.console&&console.log("Timed out fetching "+c)},timeout:1e4}))},playlist:function(a,b){var c;Wistia.data(["remote-playlist",a])?W.timeout("remote-playlist."+a+"."+W.seqId(),function(){return b(Wistia.data(["remote-playlist",a]))}):(c=""+window.location.protocol+"//"+Wistia.constant.embedHost+"/embed/playlists/"+a+".json",this.fetch(c,{},function(c){Wistia.data(["remote-playlist",a],c),b(c)},{onerror:function(){window.console&&console.log("Timed out fetching "+c)},timeout:1e4}))},fetch:function(a,b,c,d){var e;d.timeout||(d.timeout=5e3),d.onerror||(d.onerror=function(){}),e=setTimeout(d.onerror,d.timeout),Wistia.jsonp.get(a,b,function(a){clearTimeout(e),c&&c(a)})}}}),Wistia.jsonp||(Wistia.jsonp=function(){function f(a){var c=document.createElement("script"),d=!1;c.src=a,c.async=!0,c.onload=c.onreadystatechange=function(){!d&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")&&(d=!0,c.onload=c.onreadystatechange=null,c&&c.parentNode&&c.parentNode.removeChild(c))},b||(b=document.getElementsByTagName("head")[0]),b.appendChild(c)}function g(b,g,h){c="?",g=g||{};for(d in g)g.hasOwnProperty(d)&&(c+=encodeURIComponent(d)+"="+encodeURIComponent(g[d])+"&");var i="json"+ ++a;return e[i]=function(a){h(a);try{delete e[i]}catch(b){}e[i]=null},f(b+c+"callback="+i),i}var a=0,b,c,d,e=this;return{get:g}}()),function(a){return a.Plugin||(a.Plugin={}),a.Plugin.Base=function(){function b(){this.pluginName="plugin",this}return b.prototype.instances=function(){return a.data(["plugins",this.pluginName,this.video.uuid])},b.prototype.register=function(b){return this.video.plugins[this.uuid]=b,a.data(["plugins",this.pluginName,this.video.uuid,this.uuid],b)},b.prototype.remove=function(){this.video.plugins[this.uuid]=null,a.removeData(["plugins",this.pluginName,this.video.uuid,this.uuid]),delete this.video.plugins[this.uuid];if(this.video.grid)return a.grid.fitHorizontal(this.video),a.grid.fitVertical(this.video)},b.prototype.fit=function(){},b.prototype.init=function(b,c){return b.plugins==null&&(b.plugins={}),this.video=b,this.options=c||{},this.params=a.extend({},c||{}),this.uuid=this.params.uuid||a.seqId("wistia_","_plugin")},b}(),a.extend({plugin:{init:function(b,c,d){var e,f,g;return g=b.charAt
(0).toUpperCase()+b.substr(1),f=a.Plugin[g],e=new f,e.init(c,d),e},instance:function(b,c,d){return a.data(["plugins",b,c.uuid,d])},remove:function(a,b,c){var d;(d=this.instance(a,b,c))!=null&&d.remove()},isActive:function(a,b,c){return!!this.instance(a,b,c)}}})}(Wistia)
var __bind=function(a,b){return function(){return a.apply(b,arguments)}};(function(a){var b;return a.extend({url:{paramsToJson:function(b){var c,d,e,f,g,h,i,j,k,l;h={};if(!b)return h;g=b.split("&");for(j=0,k=g.length;j<k;j++)f=g[j],l=f.split("="),e=l[0],i=l[1],e=this._debrack(decodeURIComponent(e)),d=a.obj.get(h,e),d!=null?a.obj.isArray(d)?d.push(decodeURIComponent(i)):(c=[d],c.push(decodeURIComponent(i)),a.obj.set(h,e,c)):a.obj.set(h,e,decodeURIComponent(i));return h},jsonToParams:function(b){var c;return c=[],a.obj.eachLeaf(b,__bind(function(a,b){return c.push(encodeURIComponent(this._brack(b))+"="+encodeURIComponent(a))},this)),c.join("&")},splitPath:function(a){var b,c,d,e,f;d=[],a!=null&&(c=a.split(/\/+/));for(e=0,f=c.length;e<f;e++)b=c[e],b!=null&&b!==""&&d.push(b);return d},joinPath:function(a){var b;return b="",a!=null&&(b="/"+a.join("/")),b},_brack:function(a){var b,c,d;c=a[0];for(b=1,d=a.length;1<=d?b<d:b>d;1<=d?b++:b--)c+="["+a[b]+"]";return c},_debrack:function(a){return a.match(/([\w\-\_]+)/g)}}}),b=function(){function b(a){this.params={},this.path=[],this.host="",typeof a=="object"?this.fromOptions(a):a&&this.fromRaw(a)}return b.prototype._paramsR=/\?(.+)$/,b.prototype.fromOptions=function(a){var b,c,d,e;e=["protocol","host","port","params","path"];for(c=0,d=e.length;c<d;c++)b=e[c],a[b]!=null&&(this[b]=a[b]);return this},b.prototype.fromRaw=function(b){var c;this.rawUrl=b;if(c=b.match(/^((?:https?\:)|(?:file\:)|(?:ftp\:))?\/\//))this.protocol=c[1];if(c=b.match(/\/\/([^\:\?\/]*)/))this.host=c[1];if(c=b.match(/\/\/.*?((?:\/[^\?#$]+))/)){this.rawPath=c[1],this._hasTrailingSlash=/\/$/.test(this.rawPath);if(c=this.rawPath.match(/\.(.+)$/))this.ext=c[1];this.path=a.url.splitPath(this.rawPath)}if(c=b.match(/\:(\d+)/))this.port=parseInt(c[1],10);if(c=b.match(/\?([^#]+)/))this.rawParams=c[1],this.params=a.url.paramsToJson(this.rawParams);if(c=b.match(/#(.*)$/))this.anchor=c[1];return this},b.prototype.clone=function(){var a;return a=new b({protocol:this.protocol,host:this.host,port:this.port,params:this.params,anchor:this.anchor})},b.prototype.isRelative=function(){return(this.protocol==null||this.protocol===""||this.protocol===window.location.protocol)&&(!this.host||this.host===window.location.hostname)},b.prototype.toString=function(){return this.isRelative()?this.relative():this.absolute()},b.prototype.absolute=function(){var a,b;return b="",this.protocol!=null&&(b=this.protocol),a="",this.port!=null&&(a=":"+this.port),""+b+"//"+this.host+a+this.relative()},b.prototype.relative=function(){var b,c;return c="",this.path.length>0&&(c=a.url.joinPath(this.path),this._hasTrailingSlash&&(c+="/")),b="?"+a.url.jsonToParams(this.params),b.length===1&&(b=""),""+c+b+this.relativeAnchor()},b.prototype.relativeProtocol=function(){var a;return a="",this.port!=null&&(a=":"+this.port),"//"+this.host+a+this.relative()},b.prototype.relativeHost=function(){var a;return a="",this.protocol!=null&&(a=this.protocol),""+a+"//"+this.relative()},b.prototype.relativeAnchor=function(){var a;return a="",this.anchor!=null&&(a="#"+this.anchor),""+a},b}(),a.url.create=function(a){return new b(a)},a.url.parse=function(a){return new b(a)}})(Wistia),function(a){return a.iframeInit=function(b,c){return a.timeout("iframe_init",function(){var d,e,f,g,h,i,j,k,l,m;m=a.url.parse(location.href),e=a.extend(c,m.params),e.pageUrl||(e.pageUrl=m.absolute().replace(/\#.*$/,"")),e.pageTitle=document.title,m.anchor&&(d=a.url.paramsToJson(m.anchor),a.extend(e,d),d.pageUrl&&(e.pageUrl=d.pageUrl,i=a.url.parse(d.pageUrl),i.params.wemail&&(e.trackEmail=i.params.wemail))),a.obj.castDeep(e),e.container="wistia_video",e.canonicalUrl?e.pageUrl=e.canonicalUrl:e.canonicalUrl=e.pageUrl,e.canonicalTitle?e.pageTitle=e.canonicalTitle:e.canonicalTitle=e.pageTitle,window.wistiaEmbed=a.embed(b,e),k=m.params.plugin;if(k!=null)for(h in k)j=k[h],j!=null&&(a.obj.castDeep(j),a.plugin[h](wistiaEmbed,j));(a.detect.iphone||a.detect.ipad)&&setInterval(function(){return wistiaEmbed.elem().style.zoom="",wistiaEmbed.elem().style.zoom=1},3e3);if(window.wistiaEmbed.grid)return g=a.util.winWidth(),f=a.util.winHeight(),l=function(){var b,c;(c=a.util.winWidth())!==g&&(window.wistiaEmbed.width(c),g=c),(b=a.util.winHeight())!==f&&(window.wistiaEmbed.height(b),f=b),a.timeout("iframe_resize_loop",l,1e3)},a.timeout("iframe_resize_loop",l,500)})}}(Wistia)



Oh man, that's a rather long file.

So, Linda, I'm not sure what you are referring to with issue #97. Was that from the respond.js site somewhere?

The bit about the @font-face made me wonder if typekit (which I'm using) is interfering with the wistia javascript file. But when I remove the typekit script (thus disabling typekit) from my header.php file, it doesn't fix the issue.

Also, I don't have typekit in the twenty ten theme, since I'm not using it (except for testing with this issue.)

That's why I'm not sure that the issue is related to the third-party.js file in the Beveled theme...because the issue is still present when I switch to twenty ten.

I think Typekit uses @font-face, but I'm not using the @font-face declaration anywhere in my css, and I don't see it in firebug for any of my fonts.

Perhaps @font-face is only used for IE?

We're closer, but I'm still confused and the problem is still happening. :(

Thank you...




Linda comments:

Wow crazy! Another oddity to throw in the mix. In the below screenshot it looks like the iframe is calling a script file without the http://. Thoughts?

[[LINK href="http://linmar.us/1.jpg"]]screenshot[[/LINK]]

Maybe it is just too late to think!


Linda comments:

I think you might have fixed it. My IE 8 is no longer crashing and the .js error is gone.

2012-02-02

idt answers:

Hi,

I found in one discussion about a bug with respond.js that calling CSS with media="screen" causes IE to crash.

Can you please try changing this:
<link rel="stylesheet" type="text/css" href="http://www.thetechhusband.com/wp-content/themes/beveled-child/style.css" media="screen" /> to just
<link rel="stylesheet" type="text/css" href="http://www.thetechhusband.com/wp-content/themes/beveled-child/style.css" />

and let's see what happens.

Thanks,
idt


idt comments:

It was also mentioned that CSS with @import can trigger this respond.js bug and can crash IE. In your http://www.thetechhusband.com/wp-content/themes/beveled-child/style.css CSS there is indeed @import.

Please try removing the media=screen and perhaps later the @import line inside that CSS to see if changes anything.


Forest Linden comments:

Thank you idt,

that didn't solve the problem though.

I have to head to bed atm, but will be back first thing in the morning.

I've left out the media="screen" from the css call in the header.php file.

Cheers,
Forest


Forest Linden comments:

Thank you idt,

that didn't solve the problem though.

I have to head to bed atm, but will be back first thing in the morning.

I've left out the media="screen" from the css call in the header.php file.

Cheers,
Forest


idt comments:

Hello,

What happens if you move
<link rel="stylesheet" type="text/css" href="http://www.thetechhusband.com/wp-content/themes/beveled-child/style.css" media="screen" />
below
<script type='text/javascript' src='http://www.thetechhusband.com/wp-content/themes/beveled/includes/js/third-party.js?ver=3.3.1'></script>

As per the discussion in this bug report: https://github.com/scottjehl/Respond/issues/27 some mentioned that moving the CSS below the script that calls respond.js somehow fixes the issue. It seems that this issue is related to background image and respond.js.

Thanks,
idt


Forest Linden comments:

BINGO!!!

That did the trick, idt.

I had to take a wild guess at where the third-party.js file was being called in the header.php file, because the direct call to that file isn't actually in the header.php file, but I moved the call to the style.css file below this:

<?php
wp_head();
woo_head();
?>


and it bloody worked!

Geeez. That was a whole day on this.

I don't understand why the Beveled demo site comes up find in IE, but I'm guessing it's because they don't have any videos in it, like I have on my site.

I'm confused about why this all happened, and about why when I removed the video and even switched themes, this was still happening, but the important thing is that the site is up in IE now.

Thank you everyone for your help. I am now in love with this site and will be doing a blog post about you all and this site very soon.

This beats the crap out of community forums for open source software. Love the model of this site.

Wish I could take you all out for a coffee or something.

Now to see if I can split the payment with some going to the community pot and the rest to idt. If I can't do that, know that I wanted to, and I'll make a request to the wpquestions team for that functionality.

Cheers to you all. Now I will sleep better tonight...

Forest


Forest Linden comments:

Ahhh...I see. I don't get to vote on who gets the money for this thread, as I don't have voting rights yet.

Interesting model.

So it's up to other folks who answer questions to vote on who should get the money.

Well...okee dokee.

Please know that I'm grateful to you all for your time and help.

Cheerio,
Forest


Forest Linden comments:

Nevermind...figured out how to vote myself.

Very cool!

Love this site!!

2012-02-02

Peter Michael answers:

If TwentyTen is crashing your IE then there is something wrong on the browser side (browser add-ons?). Assuming you have disabled all plugins as well.


Forest Linden comments:

Thanks Peter. I had the same thought, so I went down to the library and checked it on their PC's. Same thing over there, so I'm not sure that's the problem.

One thing I haven't tried though, which you just reminded me of, is disabling all plugins and re-enabling one at a time. I'll go try that now.


Peter Michael comments:

The below mentioned answers have all their valid points but they are related to the Beveled theme thus IE shouldn't crash with the TwentyTen theme. Have you tried disabling all plugins? Also make sure you clear the browser cache each time after switching things on/off.

2012-02-02

Daniel Nitsikopoulos answers:

I'm pretty sure it's not at the server level. I opened it up in IE tester and by the looks of it, it's a javascript thing - an issue with the server would result in a garbled page rather than a browser crashing. My guess is it has something to do with your "E-v1,iframe-v1.js" script that tries to access an iFrame on a different domain. Chrome has some issues with it so I wouldn't be surprised if it crashes IE. If you have IE tester, disable javascript and you'll see it works fine (well I say fine, it looks a little broken, but that's probably because you cna't even open it hehe). All the best


Forest Linden comments:

Thank you, Daniel.

We might be getting closer. This morning a friend saw an error in the firebug console about that same script:

http://content.screencast.com/users/tjbaker/folders/Jing/media/6b4a5ef7-2070-42bb-a5b3-717b3923bb24/00002574.png

I wasn't able to see that error in firebug though, so I moved on to look for something else as the cause.

I don't know where that javascript file is coming from at the moment, so I'll have to dig around. Could be coming from one of my wistia videos. Hmmm...

2012-02-02

Arnav Joy answers:

I think there is some problem in your js file

http://www.thetechhusband.com/wp-content/themes/beveled/includes/js/third-party.js


Forest Linden comments:

Thank you, Arnav.

See the screenshot of that file in my response to Linda above your response.

I haven't touched this file, and I don't know javascript, so I wouldn't be able to spot any problems.

Hrrmmm....