From 2a42fc03e6d146435b17197038b23b3f34d815c1 Mon Sep 17 00:00:00 2001 From: Karim Hamidou Date: Wed, 9 Nov 2011 13:11:23 +0100 Subject: [PATCH] fixed crash due to recursive call --- players/jwplayer/popcorn.jwplayer.js | 4 ---- 1 file changed, 4 deletions(-) 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(); -- 2.43.0