
Percent width, auto height? Like <video>?
Hi ...
I've been doing experiments with JW Player to automatically height itself when given a percent width. I've discovered the <video> tag can do this with the latest browsers IE, FF, and Safari. I don't know how <video> pulls this off, but it's a great capability.
You can see what I'm trying to do at http://kilk.com. Resize the browser window. This is the code I'm using here:
bc.. <video controls="controls" style="width:99%;" poster="caboose.jpg">
<source src="caboose.mp4" type="video/mp4" />
<source src="caboose.webm" type="video/webm" />
</video>
I'd like to use JW Player because of it's UI and great cross browser support. I'll purchase it. Minimally I'd like to know if I can achieve the above affect rather easily and how I could do this. I'd be happy to have the above effect with only current browsers as I do now -- and falling back to a fixed size for older installations is fine.
Thanks in advance!
Erik