Mark Panaghiston
unread,Sep 12, 2011, 6:47:40 PM9/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jpl...@googlegroups.com
They use jPlayer for the audio... But not for the video by the look of it... But should be able to do it if you plug in the right values in either the size option or the CSS for it.
This is not the source, but the generated HTML viewed in Firebug (Well I assume it is generated or OGV limits browsers that work.):
<div id="videoContainer">
<video id="backgroundVideo" preload="metadata" autoplay="" tabindex="0" style="display: block; visibility: visible; min-height: 576px; min-width: 980px; top: 0px; left: 0pt; position: absolute; height: auto; width: 100%;" src="media/video/light/0_intro.theora.ogv"></video>
</div>
#videoContainer {
display: block;
height: 100%;
left: 0;
overflow: hidden;
position: absolute;
top: 0;
width: 100%;
}
element.style {
display: block;
height: auto;
left: 0;
min-height: 576px;
min-width: 980px;
position: absolute;
top: 0;
visibility: visible;
width: 100%;
}
So follow similar structure and rules... and set the jPlayer options to:
size: {
width:"100%",
height: "auto"
}
It should work just the same... But that plugin you mention (jQuery Backstretch) might be doing other stuff not obvious when only viewing on Firefox 6. ie., It might use difference CSS rules on other browsers... But give it a go and see.