Changeset 746
- Timestamp:
- 12/11/09 14:56:04 (3 years ago)
- Location:
- trunk/fl5
- Files:
-
- 3 edited
-
player.swf (modified) (previous)
-
src/com/longtailvideo/jwplayer/player/PlayerV4Emulation.as (modified) (3 diffs)
-
src/com/longtailvideo/jwplayer/player/PlayerVersion.as (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/src/com/longtailvideo/jwplayer/player/PlayerV4Emulation.as
r700 r746 88 88 _player.addEventListener(MediaEvent.JWPLAYER_MEDIA_MUTE, mediaMute); 89 89 _player.addEventListener(MediaEvent.JWPLAYER_MEDIA_META, mediaMeta); 90 _player.addEventListener(MediaEvent.JWPLAYER_MEDIA_COMPLETE, mediaComplete); 90 91 _player.addEventListener(PlayerStateEvent.JWPLAYER_PLAYER_STATE, stateHandler); 91 92 … … 146 147 } 147 148 149 private function mediaComplete(evt:MediaEvent):void { 150 modelEventDispatcher.dispatchEvent(new ModelEvent(ModelEvent.STATE, {id:id, oldstate:_player.state, newstate:ModelStates.COMPLETED})); 151 } 152 148 153 private function stateHandler(evt:PlayerStateEvent):void { 149 154 if (evt.newstate == PlayerState.IDLE && (evt.oldstate == PlayerState.BUFFERING || evt.oldstate == PlayerState.PLAYING)) { … … 153 158 modelEventDispatcher.dispatchEvent(new ModelEvent(ModelEvent.STATE, {id:id, oldstate:evt.oldstate, newstate:evt.newstate})); 154 159 } 155 160 156 161 // View Event Handlers 157 162 -
trunk/fl5/src/com/longtailvideo/jwplayer/player/PlayerVersion.as
r745 r746 3 3 4 4 public class PlayerVersion { 5 protected static var _version:String = "5.1.74 5";5 protected static var _version:String = "5.1.746"; 6 6 7 7 public static function get version():String {
Note: See TracChangeset
for help on using the changeset viewer.
