Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

bentley1407

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by bentley1407

  1. Hi, I need your help. I am trying to load mp4 video into videoLoader and to display buffering percentage. _videoLoader = new VideoLoader(_target, {name:"video", width:1024, height:576, scaleMode:"proportionalInside", bgColor:0x000000, autoPlay:false, volume:1, bufferMode:false, onComplete:bufferFullHandler, onProgress: bufferProgressHandler,onError: handleLoadError, estimatedBytes:INTRO_ESTIMATED_BYTES}); In bufferProgressHandler I am tracing _videoLoader.progress and I get next values: _videoLoader.progress0.039892267457746204 _videoLoader.progress0.00019516764901050002 _videoLoader.progress0.00019957656505447608 _videoLoader.progress0.0759987559727445 _videoLoader.progress0.10248921870764195 _videoLoader.progress0.15141208735466252 _videoLoader.progress0.20590979471887147 _videoLoader.progress0.2604075020830804 _videoLoader.progress0.09999950105858736 _videoLoader.progress0.1995998489870658 _videoLoader.progress0.2999985031757621 _videoLoader.progress0.399399274539186 _videoLoader.progress0.4999991684309789 _videoLoader.progress0.5989991235262518 _videoLoader.progress0.5999986694895663 _videoLoader.progress0.798798549078372 _videoLoader.progress0.8999988358033705 _videoLoader.progress0.9983983980654378 As you see progress is moving back few times, I have tried to trace bytesLoaded and the same thing happens. Please help
×