Hello. I noticed that YouTube video (player) is only one that responsive in 100%.
Other videos (if looks it in single page / not Modal window, for example) or at stream are fixed by height and tooks lots of place (not good for mobile portrait view).
Examples on mobile view:
LIVELEAK: test.crimson-land.ru/770-super-user/videos/video/1-untitled-liveleak-com
Privet, Dmitry.
Thank you for contacting us.
Please, try to use this code:
.cVideo-Wrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
margin: 0 0 20px 0;
}
.cVideo-Wrapper iframe,
.cVideo-Wrapper video,
.cVideo-Wrapper object,
.cVideo-Wrapper embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Hi. Can you please include this code to CSS as default to let all webmasters/clients fix this issue with no-youtube linked video? Code provided by you really helps to dix "single video page" and "modal video page") :) This promlems are gone:Michał wrote: Please, try to use this code...
Hi, Dmitry.
Okay, I passed this to our developers.