- Timestamp:
- 10/26/09 17:49:48 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/src/com/longtailvideo/jwplayer/media/MediaProvider.as
r523 r530 253 253 254 254 /** Dispatches buffer change notifications **/ 255 protected function sendBufferEvent(bufferPercent:Number ):void {255 protected function sendBufferEvent(bufferPercent:Number, offset:Number=0):void { 256 256 if (bufferPercent != this.bufferPercent) { 257 257 this.bufferPercent = bufferPercent; 258 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_BUFFER, {'bufferPercent': this.bufferPercent}); 258 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_BUFFER, 259 { 'bufferPercent': bufferPercent, 260 'offset': offset, 261 'duration': _item.duration 262 }); 259 263 } 260 264 }
Note: See TracChangeset
for help on using the changeset viewer.
