Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Changing video file that is on the Stage

$
0
0

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


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>