0 Replies Latest reply on Feb 3, 2015 8:17 AM by Spout

    Changing video file that is on the Stage

    Spout Level 1

      Hello,

      So, I need to replace the video that is already on the stage in the layer called 'video'

      I need to do that to keep the settings I put on it (pause/play etc... on the timeline)

       

      I tried that, but it doesn't work, because it add another video so I have two video playing

       

      var vid = sym.$("Video");

      vid.html('<video src="_images/testCVideo2.mp4" autoplay="yes" loop="yes" type="video/mp4" width="100%"></video>');

       

      Is someone have any idea or solution ?

       

      Thanks and excuse my english