Get video source variable?


hi

 

i hoping please me following;

 

currently have working in edge project:

vid.html('<video id= "video1" video width= "970" height="421" src = "media/video.mp4" type="video/mp4" </video>');

 

my next issue how viceo source via javascript variable?

 

menno

hi,

 

you can select video tag using id , change video using src attribute.

sym.$("#video1").attr("src") ==> returns video source.

sym.$("#video1").attr("src", "media/newvideo.mp4") ==> resets video source.



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!