vue-youtube-embed
vue-youtube-embed copied to clipboard
Responsive parameter
Suggestion to provide a "responsive=true" parameter. This option would include a wrapper div with below css styling:
.video-responsive{
overflow:hidden;
padding-bottom:56.25%;
position:relative;
height:0;
}
.video-responsive iframe{
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}
CSS Source: https://www.ostraining.com/blog/coding/responsive-videos/
usefull functionality
Perfect. Thanks