From: rwldrn Date: Sun, 5 Dec 2010 01:01:40 +0000 (-0500) Subject: [#164] X-Git-Tag: v0.2~68^2~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c27ea4c11ce561436f03849ae7ebd3fbd05eda5c;p=popcorn-js.git [#164] --- 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 ) {