3 Replies Latest reply on Jun 20, 2014 10:01 AM by mfh2732

    Can't get video to work

    GraphicsGeezer Level 1

      I followed tutorials at Adobe, Lynda.com and Stackoverflow but can't get my video to work in my Edge Animate presentation.

       

      Here is the code I used. "holder" refers to a rectangle on stage. I put the code into a timeline trigger as per the tutorial.

       

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

      vid.html=('<video width="300" height="200" src="shortclips/one.mp4" poster="images/alpha20.jpg" type="video/mp4" controls ="controls"></video>');

       

      I copied the HTML5 code straight into a Dreamweaver page, and the video worked fine as did the poster frame.

       

      Any help appreciated.