Ignore:
Timestamp:
10/22/09 13:56:23 (4 years ago)
Author:
zach
Message:
  • Updating SoundMediaProvider to handle null channels
  • Updating VideoMediaProvider play / pause bug
  • Fixing YouTube buffering issue
File:
1 edited

Legend:

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

    r512 r519  
    135135                        if (state == PlayerState.BUFFERING){ 
    136136                                sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_BUFFER, {bufferPercent:bufferPercent}); 
    137                         } else if (position < item.duration && state == PlayerState.PLAYING && position >= 0) { 
    138                                 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_TIME, {position: position, duration: item.duration, bufferPercent:bufferPercent}); 
     137                        } else if (position < item.duration) { 
     138                                if (state == PlayerState.PLAYING && position >= 0) { 
     139                                        sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_TIME, {position: position, duration: item.duration, bufferPercent:bufferPercent}); 
     140                                } 
    139141                        } else if (item.duration > 0) { 
    140142                                complete(); 
Note: See TracChangeset for help on using the changeset viewer.