1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    3
    Vote Rating
    0
    webreality is on a distinguished road

      0  

    Default controller.restartTimeline(); serious lag

    controller.restartTimeline(); serious lag


    When I use controller.restartTimeline(); in the timeline "Start" action, on a timeline that contains a video, the entire scene takes at least 5 seconds to load. Is there a better, more performance efficient way to do this?
    Capture.PNG

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Apr 2012
    Posts
    183
    Vote Rating
    18
    miro.bojic will become famous soon enough miro.bojic will become famous soon enough

      0  

    Default


    Hi webreality,

    The slowdown is probably due to video being reinitialized. Instead of restarting the scene, would it be an option to only restart the video? This would probably be a lighter solution, and you can restart the video in question by giving it an ID under Object->General->ID and then writing some code to reset the video timeline. Take a look at this thread for more details:

    http://www.sencha.com/forum/showthread.php?236939

  3. #3
    Sencha User
    Join Date
    Aug 2013
    Location
    New York
    Posts
    19
    Vote Rating
    0
    webreality_ny is on a distinguished road

      0  

    Default iPad doesn't support currentTime

    iPad doesn't support currentTime


    I tried what was explained in that post. It doesn't work on the iPad because currentTime isn't exposed to JavaScript until the video starts playing.

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar