3 Replies Latest reply on Mar 5, 2014 1:52 AM by websemantic

    HTML5 video only works in Chrome?

    Xoco Level 3

      I use a rectangle named "video" for embed html5 video in document.compositionReady:

       

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

      vid.html('<video id= "video1" style=" position: absolute;bottom: 0px; right: 0px; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -1000; overflow: hidden" src= "video/sparks_fly_hd.mp4" type= "video/mp4" autoplay="autoplay" loop="loop" </video>');

       

      But only works fine in Chrome, not in Safari, Firefox, or IE, why?

       

      Tag: http://w3schools.com/html/html5_video.asp

      Web: http://dissenys.com/vol

      Source: https://app.box.com/s/o7h3dj10r6k77206942o