From c27ea4c11ce561436f03849ae7ebd3fbd05eda5c Mon Sep 17 00:00:00 2001 From: rwldrn Date: Sat, 4 Dec 2010 20:01:40 -0500 Subject: [PATCH] [#164] --- popcorn.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/popcorn.js b/popcorn.js index 29a10d7..853838b 100644 --- a/popcorn.js +++ b/popcorn.js @@ -274,6 +274,11 @@ options.end = this.duration(); } + if ( "_setup" in setup && typeof setup._setup === "function" ) { + setup._setup.call(self, options); + } + + this.video.addEventListener( "timeupdate", function( event ) { -- 2.43.0