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

add subtitles with track to a video object in ?

$
0
0

With the new array video object in Edge Animate CC 2014,  is there an easy way to add a subtitle (maybe with 'track')?

 

sym.$("Name_video")[0]..........

 

 

In the previous Edge Animate I created a videoholder in a symbol, and added code like below, but that seems a bit cumbersome now:

 

var video_FR = sym.$("VidHoldCedric"); 

$(video_FR).html('<video width="1920" height="1080" id="VideoFR" allowfullscreen="true" autoplay><source src="images/_Video/Cedric.mp4" type = "video/mp4" />  <track label="English Captions" srclang="en" kind="subtitles" src="images/_Subs/EN/Cedric_EN_DEF.vtt" type="text/vtt" default=""><track/> </video>');


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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