embed youtube video auto height
<!-- CSS -->
<style>
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<!-- HTML -->
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/_TyJeKKQh-s?controls=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
Also in HTML:
- my html file shows code in browser
- m3u8 ffmpeg download
- embed youtube video auto height
- best place to include script in html layout
- how to scrool some photos in html
- meta viewport
- ionic progress bar
- html a href
- add bootstrap
- foundation dropdown direction
- table bootstrap with scrool
- ionic textarea
- excel vba largest value for Decimal data type
- what is html
- ionic chip
- marquee
- html form select
- background image html
- html button type
- html to pdf react
- vue toggle class
- color de las letras en html
- let's encrypt ssl not working
- how to add space in html