...

View Full Version : Flash Video Resizing?



jbeweb
10-11-2009, 03:39 AM
I have a flash template for a program that I use to stream videos on my server. Is there a way to take away the height and width so that different size videos play the correct size when called upon?


<div id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> <font color="#FFFFFF"">to see this player.</font></div>
<script type="text/javascript">
var s1 = new SWFObject("http://www.site.com/flash/mediaplayer.swf","single","600","450","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","%%%FILE%%%");
s1.addVariable("name","%%%NAME%%%");
s1.addVariable("backcolor","0x00103C");
s1.addVariable("frontcolor","0xFFFFFF");
s1.addVariable("lightcolor","0xFFFFFF");
s1.addVariable("width","600");
s1.addVariable("height","450");
s1.write("player1");
</script>

[Paul Ferrie ]
11-19-2009, 10:42 AM
Most probably not but cant say for sure. The player developer might have put code in there to cover if width/height return undefined but i reckon that will be unlikely. Do you have the source fla for the player?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum