Resize full screen video on window resize with videoBG.js
I'm currently running a brilliant jQuery plug in from [sydlawrence][1] to make a video run full screen in the background.

It works fine except if you resize the window to make it *larger* the video doesn't resize to fill the gap and just leaves a gap. (It does adjust to full screen perfectly on load).

Unfortunately I'm not expert enough at jQuery or javascript to fiddle with a plug in but I'm hoping someone else might be! I'm sure many people would be appreciative.

Anyhow, the code can be found on github [here][2].

Many thanks.


  [1]: http://stackoverflow.com/users/5838/sydlawrence
  [2]: https://github.com/sydlawrence/jquery.videoBG/blob/master/jquery.videoBG.js
Resize full screen video on window resize with videoBG.js
===

I'm currently running a brilliant jQuery plug in from [sydlawrence][1] to make a video run full screen in the background.

It works fine except if you resize the window to make it *larger* the video doesn't resize to fill the gap and just leaves a gap. (It does adjust to full screen perfectly on load).

Unfortunately I'm not expert enough at jQuery or javascript to fiddle with a plug in but I'm hoping someone else might be! I'm sure many people would be appreciative.

Anyhow, the code can be found on github [here][2].

Many thanks.


  [1]: http://stackoverflow.com/users/5838/sydlawrence
  [2]: https://github.com/sydlawrence/jquery.videoBG/blob/master/jquery.videoBG.js