Ignore:
Timestamp:
08/25/11 18:26:14 (21 months ago)
Author:
pablo
Message:

Fixes an issue when re-playing audio files from a re-loaded playlist (1423)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/src/com/longtailvideo/jwplayer/media/SoundMediaProvider.as

    r1946 r1982  
    8282                        if (!_item || _item.file != itm.file || !_bufferingComplete) { 
    8383                                _bufferingComplete = false; 
    84                                 _item = itm; 
    8584                                _sound = new Sound(); 
    8685                                _sound.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); 
    8786                                _sound.addEventListener(Event.ID3, id3Handler); 
    8887                                _sound.addEventListener(ProgressEvent.PROGRESS, positionHandler); 
    89                                 _sound.load(new URLRequest(_item.file), _context); 
    90                         } 
     88                                _sound.load(new URLRequest(itm.file), _context); 
     89                        } 
     90                        _item = itm; 
    9191                        if (!_positionInterval) { 
    9292                                _positionInterval = setInterval(positionHandler, 100); 
Note: See TracChangeset for help on using the changeset viewer.