Search the Community
Showing results for tags 'playing'.
-
Guys, simple codepen example (ignore the graphics I've just dumped stuff down) trying to work out why the sound isn't playing first time on play back but on playing again (or using loop in GSDEV player) its playing twice on the time line? Grateful for a steer here. Buzz
-
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