From 4c13b44df5838c53be97a06a5ac0693e4ebc10b8 Mon Sep 17 00:00:00 2001 From: rwldrn Date: Sun, 5 Dec 2010 10:33:21 -0500 Subject: [PATCH] [#177] Fixes setup.timeupdate is undefined --- popcorn.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/popcorn.js b/popcorn.js index 2cf87bb..e824008 100644 --- a/popcorn.js +++ b/popcorn.js @@ -274,6 +274,10 @@ if ( !( "end" in options ) ) { options.end = this.duration(); } + + if ( !( "timeupdate" in options ) ) { + options.timeupdate = Popcorn.nop; + } if ( "_setup" in setup && typeof setup._setup === "function" ) { setup._setup.call(self, options); -- 2.43.0