diff -r 2ec3deb0a0d5 -r bbcf7423f543 src/js/popcorn.jwplayer.js --- a/src/js/popcorn.jwplayer.js Tue Oct 04 11:16:06 2011 +0200 +++ b/src/js/popcorn.jwplayer.js Fri Oct 07 17:18:42 2011 +0200 @@ -104,14 +104,11 @@ }; - jwplayer( container.id ).setup({ - file: options.file, - height: 270, - width: 480, - flashplayer: options.flashplayer, - events: { + options.events = { onReady: initApi - }}); + }; + + jwplayer( container.id ).setup(options); } });