Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2009
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Flash Video Resizing?

    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?

    Code:
    <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>

  • #2
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •