Good day!
I have a problem with VideoLoader. Somtetimes video played very fast!
Sometimes good, sometimes fast.
My flv file duration is 2 seconds... very small and i think that is problem.
My constructor:
videoLoader = new VideoLoader(filename,
{autoPlay:false, container:this, width:size ? size.x : null, height:size ? size.y : null, repeat: -1, bufferTime:4} );
So if set bufferTime to 4 , I have a problem? but if set it to 0.01, its better.. but with new problem:
syncronization of videos not work:
private function onVideoComplete(e:Event):void
{
playComplete = true;
var synthSymbolsPlayFound:Boolean = false;
for (var i:int = 0; i < synthSymbols.length; i++)
{
var videoLdr:VideoSprite = synthSymbols[i];
if (videoLoader.url == videoLdr.videoLoader.url && !videoLdr.playComplete)
{
synthSymbolsPlayFound = true;
break;
}
}
if (synthSymbolsPlayFound)
videoLoader.pauseVideo();
else
{
for (i = 0; i < synthSymbols.length; i++)
{
if (videoLoader.url == synthSymbols[i].videoLoader.url)
{
synthSymbols[i].videoLoader.playVideo();
synthSymbols[i].playComplete = false;
}
}
}
}
These problems are in the last version VideoLoader. sorry for my bad english