nasti_25228
nasti_25228
KPCKevin Powell - Community
Created by jgcastro on 8/23/2023 in #front-end
Video not getting the full height
You have two options: either set position absolute on the video and position relative on its parent, or you need to explicitly set a fixed height (in px or vh) on the parent so that the video knows height of what 100% is. There is one more hack to achieve this by using 'aspect-ratio' property instead of height on the parent and 'height:100%' on the video.
15 replies