Jump to content
Search Community

whsecurity

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by whsecurity

  1. After a little push this is the best I can get with videoloader (Very good result indeed!):

     

    videoloader.zip

     

    Keep in mind that there will be about 40 - 50 videos playing at the same time

     

    This is the starling approach:

     

    starling.zip

     

    but I can't use it because I can't set wmode=direct. I have html code above the swf and until now I didn't found any way to archive this.

     

    I don't know the forum rules so if you want tell me if I can post the url of the site or sent it to you with a email

     

    Thanks for your time and this great library (greensock:Tweenmax, loaderMax, BlitMask ...)

  2. It sure resolves the issue but not completely. At the end of the video there is a small-tiny gap. Unfortunelly the videos are people movement in a big scale project so I can't play dices with the video playback. I will give a try to starling framework about the movement.

     

    I had tried a few things and the problem occures only on FP10 and FP11 (not on FP9). Also I reencode the videos and had tried a few approaches but witn no conclusion.

     

    After a little google search I found a few people with the same problem. So I think the problem occures from flash player and not anything else. :(

     

    Thanks for the help and time spent.

  3. Hello and thanks for this great library.

     

    I have a little problem with the video repeat function of videoloader. I load multiple video and I had set repeat:-1. The video loops to infinity but between the loops I have a freeze time about 2 seconds.

     

    This is the code I use:

     

    import com.greensock.events.LoaderEvent;

    import com.greensock.loading.VideoLoader;

    import com.greensock.loading.LoaderMax;

     

    //path to video folder

    var livPath:String = "http://www.xxxxxxxx.com/path/";

     

    //

    //--video loader and movement

    //

     

    var residentsArray:Array=["babybousoulaei1.flv", "babybousoulaeiaristera.flv", "babybousoulaeidown.flv", "babyplayanapoda.flv", "babysitdown1.flv", "babysitdown2.flv", "babysitdown3.flv", "clowndance.flv", "clowndance2.flv", "giatrosKarotsiAristera.flv"];

     

    LoaderMax.activate([VideoLoader]);

     

    var residentsQueue:LoaderMax = LoaderMax.parse(residentsArray, {name:"residentsQueueLoader", onProgress:rProgressHandler, onComplete:rCompleteHandler, onError:rErrorHandler}, {width:"60", height:"60", centerregistration:"true", repeat:-1, scaleMode:"none", autoPlay:false});

    residentsQueue.prependURLs(livPath);

    residentsQueue.load();

     

    function rCompleteHandler(event:LoaderEvent):void

    {

    var babybousoulaei1V:VideoLoader = LoaderMax.getLoader(livPath+"babybousoulaei1.flv");

    addChild(babybousoulaei1V.content);

    babybousoulaei1V.playVideo();

     

    var babybousoulaeiaristeraV:VideoLoader = LoaderMax.getLoader(livPath+"babybousoulaeiaristera.flv");

    addChild(babybousoulaeiaristeraV.content);

    babybousoulaeiaristeraV.playVideo();

    babybousoulaeiaristeraV.content.x = 60;

     

    var babybousoulaeidownV:VideoLoader = LoaderMax.getLoader(livPath+"babybousoulaeidown.flv");

    addChild(babybousoulaeidownV.content);

    babybousoulaeidownV.playVideo();

    babybousoulaeidownV.content.x = 120;

     

    var babyplayanapodaV:VideoLoader = LoaderMax.getLoader(livPath+"babyplayanapoda.flv");

    addChild(babyplayanapodaV.content);

    babyplayanapodaV.playVideo();

    babyplayanapodaV.content.x = 180;

     

    }

     

    function rErrorHandler(event:LoaderEvent):void

    {

    trace("error occured with " + event.target + ": " + event.text);

    }

     

    function rProgressHandler(event:LoaderEvent):void

    {

    trace("progress: " + event.target.progress);

    }

     

    Any Ideas?

     

    I had tried both with gsap 12 and Tweening platform 11.

     

    Thanks in advance for your time!

×
×
  • Create New...