From: Karim Hamidou Date: Wed, 9 Nov 2011 12:11:23 +0000 (+0100) Subject: fixed crash due to recursive call X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;p=popcorn-js.git fixed crash due to recursive call --- diff --git a/players/jwplayer/popcorn.jwplayer.js b/players/jwplayer/popcorn.jwplayer.js index 6727a8a..4ca121d 100644 --- a/players/jwplayer/popcorn.jwplayer.js +++ b/players/jwplayer/popcorn.jwplayer.js @@ -24,10 +24,6 @@ Popcorn.player( "jwplayer", { media.play = function() { media.paused = false; media.dispatchEvent( "play" ); - if ( dataLoaded ) { - media.dispatchEvent( "loadeddata" ); - dataLoaded = false; - } media.dispatchEvent( "playing" ); jwplayer( container.id ).play();