Jump to content
Search Community

VideoLoader.progress skips back

bentley1407 test
Moderator Tag

Recommended Posts

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
 
Link to comment
Share on other sites

Hi and welcome to the GreenSock forums,

 

Unfortunately Adobe's NetStream class has a long history of having problems. So its really hard to guess what the problem is without knowing which version of Flash Player you are using, browser, OS and any other details regarding your environment. 

Also this isn't the type of thing we can explore without having a reduced test case that we can use to compile and test.

 

Please package up an FLA with a small version of your video so that we can test. The simpler the better.

 

Before doing so, please verify that the results you are seeing are when you test with the video hosted online being streamed into a browser version of Flash player. Unfortunately you can not really trust what is happening when you use "simulate download settings" inside of Flash's bandwidth profiler. Just want to make sure that is removed entirely from the equation. 

 

Your files must be zipped prior to attaching them here. If they are too big to attach, please use an external file sharing service like www.ge.tt (free, no ads, no emails, or sign up)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...