"TEST 3 Column Responsive YouTube Player"
Bootstrap 3.1.0 Snippet by brendanbarr

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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 ----------> <!-- Reference: http://avexdesigns.com/responsive-youtube-embed/ --> <div class="container"> <div class="row"> <h3>Mr. M.'s Responsive YouTube Player</h3> <p> <a href="http://bootsnipp.com/iframe/6bDM" target="_blank">View Full Screen</a> </p> <hr> </div><!--.row --> </div><!--./container --> <div class="container"> <!-- start YouTube --> <div class="row"> <div class="col-md-4"> <div class="vid"> <iframe width="560" height="315" src="//www.youtube.com/embed/ac7KhViaVqc" allowfullscreen=""></iframe> </div><!--./vid --> </div><!--.col --> <div class="col-md-4"> <div class="vid"> <iframe width="560" height="315" src="//www.youtube.com/embed/ac7KhViaVqc" allowfullscreen=""></iframe> </div><!--./vid --> </div><!--.col --> <div class="col-md-4"> <div class="vid"> <iframe width="560" height="315" src="//www.youtube.com/embed/ac7KhViaVqc" allowfullscreen=""></iframe> </div><!--./vid --> </div><!--.col --> </div><!--./row --> </div><!--./container end YouTube -->
/* Reference: http://avexdesigns.com/responsive-youtube-embed/ */ .vid { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .vid iframe, .vid object, .vid embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

Related: See More


Questions / Comments: