hi,
i’m trying to use one flv player to play multiple 16:9 and 4:3 videos, but i don’t want the 4:3 to stretch. i found some info on the flashvar “stretching” and it sounds like that’s exactly what i’m looking for. however, i can’t get it to work correctly. the 4:3 still stretches no matter what value i assign to the “stretching” variable.
is there something wrong with my code below?
<div id="video"></div>
<script type="text/javascript"><!--
var so = new SWFObject("videoplayer.swf", "player", "480", "270", "9", "#ffffff");
so.addParam("allowScriptAccess", "always");
so.addParam("wmode", "opaque");
so.addVariable("filepath", "nameofmovie.flv");
so.addVariable("stretching", "uniform");
so.addVariable("autoplay", "false");
so.addVariable("previewImage", "preview.gif");
so.write("video");
//-->
</script>
the only other thing i can think of is that the metadata in the flv files is incorrect. most videos have been converted using Quicktime Pro version 7.5.5 or CS3 Flash Video Encoder.
thanks in advance!
g