Ignore:
Timestamp:
10/05/09 21:54:05 (4 years ago)
Author:
pablo
Message:

Implemented clone() on all custom events.
Stretch media to config.stretching
PlayerReady from JavascriptAPI.as
config.file => config.playlist if file has .xml suffix
PluginConfig uses dynamic properties
V4ControlBar dispatches V5 view events
Media placed on stage!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/src/com/longtailvideo/jwplayer/player/Player.as

    r393 r396  
    66        import com.longtailvideo.jwplayer.model.Playlist; 
    77        import com.longtailvideo.jwplayer.plugins.IPlugin; 
     8        import com.longtailvideo.jwplayer.utils.Logger; 
    89        import com.longtailvideo.jwplayer.utils.RootReference; 
    910        import com.longtailvideo.jwplayer.view.ISkin; 
     
    5253                        } 
    5354                        model = new Model(); 
    54                         view = new View(this); 
     55                        view = new View(this, model); 
    5556                        controller = new Controller(this, model, view); 
    5657 
     
    6061 
    6162                        // Initialize V4 "simulator" singleton 
    62                         new PlayerV4Emulation(this); 
     63                        var emu:PlayerV4Emulation = new PlayerV4Emulation(this); 
     64                        var jsAPI:JavascriptAPI = new JavascriptAPI(this); 
     65 
     66                        Logger.output = Logger.CONSOLE; 
    6367 
    6468                        controller.setupPlayer(); 
     
    7074                 */ 
    7175                protected function forward(evt:PlayerEvent):void { 
     76                        Logger.log(evt.toString(), evt.type); 
    7277                        dispatchEvent(evt); 
    7378                } 
Note: See TracChangeset for help on using the changeset viewer.