Hi all,
I have a HTML video within a div that is 100% width of the page. I want the video fill the container and crop the height to fit. But so far I cannot get the video to expand at all!
I'm simply using:
.video {
width:100%;
}
and
<div class="main-content">
<video class="video" autoplay loop">
<source src="/wp-content/themes/StrongLinks/video.webm" type='video/webm'/>
<source src="/wp-content/themes/StrongLinks/video.mp4" type='video/mp4'/>
</video>
</div>
Can someone explain why the video object isn't obeying the 100% width command?