"Video autoplay Muted"
Bootstrap 3.3.0 Snippet by daman

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Video autoplay</h2> <video width="320" height="240" controls autoplay muted id="videos"> <source src="https://www.w3schools.com/tags/movie.mp4" type="video/mp4" > <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> <p><strong>Note:</strong> The video tag is not supported in Internet Explorer 8 and earlier versions.</p> </div> </div>
$( document ).ready(function() { // $('video:in-viewport').prop('muted', false); var vid = document.getElementById("videos"); console.log(vid.muted); vid.muted = false; console.log(vid.muted); });

Related: See More


Questions / Comments: