Answer the question
In order to leave comments, you need to log in
Video background full width and height of the container? how to stretch?
Guys, advise how to stretch the video to the width and height of the container. Maybe there is a plugin or a function.
IMPORTANT: I don't need a videophone plugin like dfcb.github.io/BigVideo.js or vodkabears.github.io/vide
I have already inserted the video and it works ok. It is necessary to stretch the video on the container. Thanks
Answer the question
In order to leave comments, you need to log in
.video{
position:absolute;
width:100%;
}
$(document).ready(function() {
$('.resize').height($(window).height());
$(window).resize(function() {
$('.resize').height($(window).height());
})
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question