| branch | new-model |
| changeset 875 | 43629caa77bc |
| parent 870 | 2c025db10a10 |
| child 904 | 510ebab76fa3 |
--- 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),