I'm looking to use jwPlayer for fullscreen background video that simply plays in a loop as the background of the site.
I'm testing this here, with moderate success in Chrome on Mac OSX (please excuse the size of the video file) - dextersgospel.com/full-screen-video.html
On page load, I grab the width and height of the browser window and set the values as the width and height parameters in jwPlayer setup. Awesome.
Now what I would like to add is functionality that resizes the video if the browser window is resized. I've looked into the onResize() and onFullScreen() events, but can't figure out how to implement those to make this work (or tell if those are even the solution). I've also looked into the jQuery resize() function, to no avail.
I would also like to prevent the video from being paused when clicked.
If anyone could provide some tips on how to use jwPlayer for fullscreen background video, it would be much appreciated!
you can use http://dfcb.github.io/BigVideo.js/ . This does it quite well. Also you can refer to discussion here on How to use JWPlayer to play videos in the background of a web page
Hope it helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With