7 Replies Latest reply on Apr 21, 2016 7:59 AM by ddhayles

    How to pause imported film for a few seconds

    kristoffert13986198

      How if I may can I pause an imported film in Edge Animate?

      Using this command:

       

      // insert code to be run when the composition is fully loaded here

      setTimeout(function() {

        //Pausing the timeline after 2 secs

        sym.$("shorter").html("Pausing after 2 secs");

         sym.stop();   

      }, 2000);

      setTimeout(function() {

        sym.$("shorter").html("Resume playing after 4 secs");

         sym.play();

      }, 4000);

       

      I can pause objects built in Edge with this command, but not an imported film... Why?

      What am I doing wrong?

       

       

       

      If I just want to pause the film I use:

      But I there is no pause time given so it just is paused indefinitely.

       

      // Pause a video track

      sym.$("shorter")[0].pause();