Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

how to Resize FLV when using browser-zoom

3 replies [Last post]

Hi,

I've got a FLV-file which I integrate via JW Player. When I use the browser-zoom in FF (CMD and + on Mac) everything resizes except the flash-movie. FF resizes when I reload the page after changing the zoom-level at last but IE doesn't resize at all.

A Youtube-movie which is integrated via JW Player, too does resize when using the browser-zoom, although all parameter sent with the movie are the same as for the FLV-file.

Do you guys know which setting/ parameter's needed to get the FLV zoom, too?

I already tried the param "scale" but without success.

Here's my code which is generated from the SWFObject for the FLV:

<span id="player11b5384f9632016dd4b27f42a53c9094" class="rgmediaimages-player test rgmi275">
     <embed id="mpl" width="400" height="300" flashvars="file=http://www.domain.de/uploads/pics/HOMEweb-DE_02.FLV&showstop=true" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" quality="high" name="mpl" src="http://www.domain.de/typo3conf/ext/rgmediaimages/res/mediaplayer.swf" type="application/x-shockwave-flash"/>
</span>
<script type="text/javascript">

     window.addEvent("load", function(){
           var so = new SWFObject("http://www.domain.de/typo3conf/ext/rgmediaimages/res/mediaplayer.swf ","mpl","400","300","8");
           so.addParam("allowscriptaccess","always");
           so.addParam("allowfullscreen","true");
           so.addParam("wmode", "transparent");
           so.addVariable("file","http://www.domain.de/uploads/pics/HOMEweb-DE_02.FLV");
           so.addVariable("showstop","true");
           so.write("player11b5384f9632016dd4b27f42a53c9094");
     });

</script>

And here's the code for the YT-Video:

<span id="playerdf4760c3ada886ee1ad7f716b07172a8" class="rgmediaimages-player test rgmi">
     <embed id="sfwvideo" width="510" height="383" flashvars="file=http://www.youtube.com/watch?v=PIXhg93cWjU&showstop=true" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" quality="high" bgcolor="#FFFFFF" name="sfwvideo" src="http://www.youtube.com/v/PIXhg93cWjU" type="application/x-shockwave-flash"/>
</span>
<script type="text/javascript">

     var so = new SWFObject("http://www.youtube.com/v/PIXhg93cWjU", "sfwvideo", "510","383", "9", "#FFFFFF");
     so.addParam("allowscriptaccess","always");
     so.addParam("allowfullscreen","true");
     so.addParam("wmode", "transparent");
     so.addVariable("file","http://www.youtube.com/watc h?v=PIXhg93cWjU");
     so.addVariable("showstop","true");
     so.write("playerdf4760c3ada886ee1ad7f716b07172a8") ;
</script>

Would be great, if you could help.

Thanks,
Michael

 
See: http://aralbalkan.com/745 and other informative articles that you can find with a Google search for "flash player browser zoom" or a similar search query.

Hi
When i use zoom in/zoom out function within the browser my Jw player does not resize correctly. the only part, which is resized is the square (display window) around all the buttons and controlbars stays the same. Anybody can help me with it. What did you do wrong? Did i set any absolute size somewhere.

thanks
Jan

Can you provide a link?