3 Replies Latest reply: Jun 1, 2010 9:27 AM by pziecina RSS

    Scale Embedded FLV

    vrosnl Community Member

      I realize this has been asked at least 117 times...

      I'm using Insert/Media/FLV... to insert an FLV file.

       

      My container is 504x338, the video is not. I want the video to scale to fit. The FLV Player scales to the correct size, but the video does not.

      I don't care about aspect ratio/quality/tearing, nothing except having the video fill the container.


      I can't seem to find parameter options for scale. When I search I find options for SWF that don't even mention 'noscale'.

       

      My goal is to eventually replace the source videos, and no matter what the size/dimensions they will always fill the container.

       

      Any thoughts?

       

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="504" height="338" id="FLVPlayer">
              <param name="movie" value="FLVPlayer_Progressive.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="scale" value="noscale" />
              <param name="salign" value="lt" />

        • 1. Re: Scale Embedded FLV
          pziecina Community Member

          Hi

           

          As you said at least 117 times, (now 118).

          <param name="scale" value="showall" />

           

          If your flv does not contain sound then you would be better advised converting this to an swf, as this would resize as required.

          Using an flv you cannot get this to resize to any large extent but it will resize, (depending) set the height and width values to 100% and insert the scale param shown above.

           

          PZ

          www.pziecina.com

          • 2. Re: Scale Embedded FLV
            vrosnl Community Member

            118! lol. I like it when people get the jokes

             

            I still can't get it to work...

             

                  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="FLVPlayer">
                    <param name="movie" value="FLVPlayer_Progressive.swf" />
                    <param name="quality" value="high" />
                    <param name="wmode" value="transparen" />
                    <param name="scale" value="showall" />
                    <param name="salign" value="lt" />
                    <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Corona_Skin_3&amp;streamName=thevideo&amp; autoPlay=true&amp;autoRewind=true" />
                    <param name="swfversion" value="8,0,0,0" />
                    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                    <param name="expressinstall" value="Scripts/expressInstall.swf" />
                    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="100%" height="100%">
                      <!--<![endif]-->
                      <param name="quality" value="high" />
                      <param name="wmode" value="transparent" />
                      <param name="scale" value="showall" />
                      <param name="salign" value="lt" />
                      <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Corona_Skin_3&amp;streamName=thevideo&amp; autoPlay=true&amp;autoRewind=true" />
                      <param name="swfversion" value="8,0,0,0" />
                      <param name="expressinstall" value="Scripts/expressInstall.swf" />
                      <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                      <div>
                        <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                      </div>
                      <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                  </object>

             

            The video does have sound btw.

            I can't seem to get the video to loop either [<param name="loop" value="true" />].

            Obvoiusly I don't work with flash too often. :/

            Maybe I just need a custom player that will have these functions written into the script, instead of the one generated by Dreamweaver??

            • 3. Re: Scale Embedded FLV
              pziecina Community Member

              Hi

               

              Trying to do this properly with an flv will require you to provide a resizeable stage for the flv in actionscript, then also use javascript, (jQuery) to resize the player.

               

              I can't seem to get the video to loop either [<param name="loop" value="true" />].

              Again this requires a bit of actionscript and javascript to do, but I believe there is a third party player that will do this.

               

              Any resize of an flv upwards, (above 100%) is very limited, (115%-120% appears to be the max) but you can resize downwards, (try using 50%) so what I would recommend is setting a size that 'fits' the page and the flv will resize upwards as required, (you should use a fluid or liquid layout).

               

              PZ

               

              ps. I love problems like this, don't you