1 Reply Latest reply on Jul 2, 2013 12:07 AM by Comfunex

    Help!? Mp4 Question Reloaded!

    Comfunex Level 2

      Does anyone has a proper code for inserting and play (with or without controls) mp4 video file?

       

      all of scherene files are unavailable and I cant seem to get this working:

       

      on compositionReady:

       

      sym.$("vid_down").append('<video class="video1" id="down" width="768px" height="594px" preload="none"><source src="back_new.mp4" type="video/mp4"/></video>');

      sym.$('.video1').get(0).play();

       

      Your Help will be highly appreciated

       

      Elijahu

        • 1. Re: Help!? Mp4 Question Reloaded!
          Comfunex Level 2

          Dont know why but this works:

           

          var vid = $("<video autoplay width='768' height='594'>" +

                    "<source src='back_new.mp4' type='video/mp4'/>" +

                                         "</video>");

          sym.$("vid_down").append(vid);

           

          but! loop is not working??? any thoughts?