diff -r 38b65761a7d5 -r 43629caa77bc src/js/pop.js --- a/src/js/pop.js Fri Apr 20 19:13:11 2012 +0200 +++ b/src/js/pop.js Mon Apr 23 19:11:08 2012 +0200 @@ -9,7 +9,9 @@ IriSP.PopcornReplacement.player = function(container, options) { /* the jwplayer calls the callbacks in the global space so we need to preserve them this way */ - var _this = this; + if (typeof IriSP._ === "undefined") { + return; + } this.callbacks = { onReady: IriSP._.bind(this.__initApi, this),