backgroundVideo icon indicating copy to clipboard operation
backgroundVideo copied to clipboard

Get background video to fit containing div

Open Jams02 opened this issue 7 years ago • 1 comments

Hi, thanks for this fantastic plugin.

I've added a video to a site built with Bootstrap 3. I have set the video to appear within a container div. The video appears to be scaled to the size of the browser window rather than the containing div.

The end result is the bottom of the video is cut off and hidden below the container when the browser window is much longer than the container.

Is it possible to set the size of the background video to 'cover' for just the container it sits within and not the entire browser window?

Really hope you can help, would be much appreciated.

Jams02 avatar Jun 17 '17 11:06 Jams02

Hey - I'm not sure about Bootstrap if I'm honest. It sounds like you have a CSS issue here rather than a problem with the plugin

linnett avatar Aug 07 '17 15:08 linnett