| branch | popcorn-port |
| changeset 54 | bbcf7423f543 |
| parent 51 | 1444edeae73f |
| child 55 | a5440e1a18a8 |
--- 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); } });