19 Replies Latest reply on Apr 23, 2013 8:20 PM by rossfranks

    Coding in different video formats?

    rossfranks Level 1

      Hey there I've just recently follow Tom Green's tutorial ( http://layersmagazine.com/embedding-video-in-adobe-edge-animate.html ) on adding in video and wanted to include the different formats he mentions but wasn't quite sure how to do that. So my code is...


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


      vid.html('<video width="600" height="400" src="video/csci.mp4" src="video/csci.webm" src="video/csci.ogv" poster = "video/csci.jpg" type="video/mp4" type="video/webm" type="video/ogg" controls= "controls" preload="auto" autoplay="autoplay" </video>');


      But I know that ain't right, so does someone want to point me in the right direction?


      Thanks in advance.