11 Replies Latest reply on Jan 8, 2014 12:52 AM by newfashioncorner

    Video issue: Can't get controls to false or sound to mute

    ladobeugm Level 1

      I doing an HTML5 video embed from a streaming video hosting service that I've done a number of times. In this case, it's going to be background video inside of a div called vidCon. I want it when the video plays for both the controls not to appear nor any sound playing. I used the following code on the timeline to fire the video, but the audio does play and the controls do appear. Why is that?




      var vid = $("<video width='1280' height=720' controls='false'>" +

         "<source src='https://yoursite.com/video.mp4' />" +

         "<source src='https://yoursite.com/video.webm' />" +

         "This browser is not compatible with HTML 5" +



      // stage symbol lookup, and append the above vid object to it;

      // in other words, get the div called 'vcontainer' and attach the video control to it;



      // additional options for the video object