Responsive video in header
-
[redacted link to wordpress.com]
Hi there
When I upload video from media library right under the header on my website, the video looks perfect on a computer, but when I go to the webshop on my mobile, the video image is zoomed in a lot so it doesn’t look as nice as on a computer.
I have also tried using the url to see if that solves the problem, but the video image is still zoomed in too much. I have tried making the video responsive via codes in css, but that doesn’t help!? I use kubio editer.The code i use is:
/* Responsiv video container / .responsive-video { position: relative; padding-bottom: 56.25%; / 16:9 aspect ratio */
height: 0;
overflow: hidden;
max-width: 100%;
}.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Can anyone help with a solution to this problem?The page I need help with: [log in to see the link]
The topic ‘Responsive video in header’ is closed to new replies.