- Timestamp:
- 10/22/09 13:56:23 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/src/com/longtailvideo/jwplayer/media/VideoMediaProvider.as
r512 r519 135 135 if (state == PlayerState.BUFFERING){ 136 136 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 } 139 141 } else if (item.duration > 0) { 140 142 complete();
Note: See TracChangeset
for help on using the changeset viewer.
