Yes, I did work it out and I think it looks great. It only required a
minor tweak to the code and css file. Everything resizes whilst the
video is playing and it works in all browsers including older IE.
The exercise was for our own site which is not yet live, so I can't
point you to a live site.
I will upload an example and post the URL and tweaks when I get a chance
on 31 May, 2011 11:28 AM
Thanks for the quick response Bill. Looking forward to seeing
I'm very keen to implement this as well. Is there a solution?
Can we have videos (including flash fallback) that resize with the
browser window? It would be great to be able to use a video as a
background for a page, or as a part of a page. If the current code
supports this, can someone explain?
on 09 Jun, 2011 09:11 AM
I am not that well versed in JS but I wonder if the magic of
Chris Coyier can help:
Sarah, that's very good of you ... I am looking in to this
problem myself at the moment, but don't quite have the CSS "chops"
My own investigations threw up FitVids as well, though I haven't
tried it with VideoJS. And FWIW, I have also been using WPTouchPro,
which seems to handle all this kind of stuff automatically, all by
itself, at least when I'm using VideoJS with it. But, it's nice to
have a handle on the technicals that lie beneath, even if I will
have to go and lie down after looking at the CSS.
@wyclef_thechronic: I'm not aware that there is any formal
stance on this from VideoJS, but as per my post above, it is
possible to make a VideoJS video responsive via the addition of a
containing HTML div and some CSS.
It would be interesting to hear whether anyone else gets this
You could check out http://www.radishcreative.co.uk and navigate to
people/Bill Cullen or people/Jennie Jones for an example of dynamically
resizing video using VideoJS script along with Sarah Hills css.