src/js/popcorn.jwplayer.js
branchpopcorn-port
changeset 54 bbcf7423f543
parent 51 1444edeae73f
child 55 a5440e1a18a8
equal deleted inserted replaced
52:2ec3deb0a0d5 54:bbcf7423f543
   102 
   102 
   103     media.paused && media.dispatchEvent( 'loadeddata' );
   103     media.paused && media.dispatchEvent( 'loadeddata' );
   104 
   104 
   105     };
   105     };
   106 
   106 
   107     jwplayer( container.id ).setup({
   107     options.events = {
   108       file: options.file,
       
   109       height: 270,
       
   110       width: 480,
       
   111       flashplayer: options.flashplayer,
       
   112       events: {
       
   113         onReady: initApi
   108         onReady: initApi
   114       }});
   109       };
       
   110       
       
   111     jwplayer( container.id ).setup(options);
   115 
   112 
   116   }
   113   }
   117 });
   114 });
   118 
   115