Changeset 772


Ignore:
Timestamp:
01/07/10 16:09:19 (3 years ago)
Author:
pablo
Message:
Location:
trunk/fl5
Files:
3 edited

Legend:

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

    r771 r772  
    33         
    44        public class PlayerVersion { 
    5                 protected static var _version:String = "5.0.771"; 
     5                protected static var _version:String = "5.1.772"; 
    66                 
    77                public static function get version():String { 
  • trunk/fl5/src/com/longtailvideo/jwplayer/utils/NetClient.as

    r458 r772  
    55         
    66         
    7         public class NetClient { 
     7        public dynamic class NetClient { 
    88                /** Function to callback all events to **/ 
    99                private var callback:Object; 
     
    1313                public function NetClient(cbk:Object):void { 
    1414                        callback = cbk; 
    15                 }; 
    16                  
     15                } 
    1716                 
    1817                /** Forward calls to callback **/ 
     
    2423                        } 
    2524                        callback.onData(out); 
    26                 }; 
    27                  
     25                } 
    2826                 
    2927                /** Checking the available bandwidth. **/ 
    3028                public function close(... rest):void { 
    3129                        forward({close: true}, 'close'); 
    32                 }; 
    33                  
     30                } 
    3431                 
    3532                /** Checking the available bandwidth. **/ 
    3633                public function onBWCheck(... rest):Number { 
    3734                        return 0; 
    38                 }; 
    39                  
     35                } 
    4036                 
    4137                /** Receiving the bandwidth check result. **/ 
     
    4440                                forward({bandwidth: rest[0]}, 'bandwidth'); 
    4541                        } 
    46                 }; 
    47                  
     42                } 
    4843                 
    4944                /** Captionate caption handler. **/ 
    5045                public function onCaption(cps:String, spk:Number):void { 
    5146                        forward({captions: cps, speaker: spk}, 'caption'); 
    52                 }; 
    53                  
     47                } 
    5448                 
    5549                /** Captionate metadata handler. **/ 
    5650                public function onCaptionInfo(obj:Object):void { 
    5751                        forward(obj, 'captioninfo'); 
    58                 }; 
    59                  
     52                } 
    6053                 
    6154                /** Cuepoint handler. **/ 
    6255                public function onCuePoint(obj:Object):void { 
    6356                        forward(obj, 'cuepoint'); 
    64                 }; 
    65                  
     57                } 
    6658                 
    6759                /** CDN subscription handler. **/ 
    6860                public function onFCSubscribe(obj:Object):void { 
    6961                        forward(obj, 'fcsubscribe'); 
    70                 }; 
    71                  
     62                } 
    7263                 
    7364                /** Get headerdata information from netstream class. **/ 
     
    8172                        } 
    8273                        forward(dat, 'headerdata'); 
    83                 }; 
    84                  
     74                } 
    8575                 
    8676                /** Image data (iTunes-style) handler. **/ 
    8777                public function onID3(... rest):void { 
    8878                        forward(rest[0], 'id3'); 
    89                 }; 
    90                  
     79                } 
    9180                 
    9281                /** Image data (iTunes-style) handler. **/ 
    9382                public function onImageData(obj:Object):void { 
    9483                        forward(obj, 'imagedata'); 
    95                 }; 
    96                  
     84                } 
    9785                 
    9886                /** Lastsecond call handler. **/ 
    9987                public function onLastSecond(obj:Object):void { 
    10088                        forward(obj, 'lastsecond'); 
    101                 }; 
    102                  
     89                } 
    10390                 
    10491                /** Get metadata information from netstream class. **/ 
    10592                public function onMetaData(obj:Object):void { 
    10693                        forward(obj, 'metadata'); 
    107                 }; 
    108                  
     94                } 
    10995                 
    11096                /** Receive NetStream playback codes. **/ 
     
    115101                                forward(dat, 'playstatus'); 
    116102                        } 
    117                 }; 
    118                  
     103                } 
    119104                 
    120105                /** Quicktime broadcaster pixel. **/ 
    121106                public function onSDES(... rest):void { 
    122107                        forward(rest[0], 'sdes'); 
    123                 }; 
    124                  
     108                } 
    125109                 
    126110                /** Receiving the bandwidth check result. **/ 
    127111                public function onXMPData(... rest):void { 
    128112                        forward(rest[0], 'xmp'); 
    129                 }; 
     113                } 
    130114                 
    131                  
     115                public function onXMP(... rest):void { 
     116                        onXMPData(rest); 
     117                } 
     118 
    132119                /** RTMP Sample handler (what is this for?). **/ 
    133120                public function RtmpSampleAccess(... rest):void { 
    134121                        forward(rest[0], 'rtmpsampleaccess'); 
    135                 }; 
    136                  
     122                } 
    137123                 
    138124                /** Textdata handler (MP4 text tracks). **/ 
    139125                public function onTextData(obj:Object):void { 
    140126                        forward(obj, 'textdata'); 
    141                 }; 
    142         }; 
     127                } 
     128                 
     129        } 
    143130} 
Note: See TracChangeset for help on using the changeset viewer.