1 Reply Latest reply on Jan 11, 2009 1:55 PM by Newsgroup_User

    Problem with flash video

    Hiitsm34
      Hi. So, my problem is, I'm trying to put a flash video on a web site, but when I get it on there, there's white lines on the bottom and top of the video. Here's an example (just copy and paste)

      http://www.i40.tinypic.com/s29vcz.jpg

      Here's the code, if it will help. Thank you!



      <html>
      <head>
      <title>Anna Maltezos</title>
      <link href="annamaltezos.com/style.css" rel="stylesheet" type="text/css" />
      <style type="text/css">


      #Layer1 {
      position:absolute;
      width:808px;
      height:487px;
      z-index:2;
      background-image: (none);
      }
      #Layer2 {
      position:absolute;
      width:257px;
      height:233px;
      z-index:3;
      left: 115px;
      top: 81px;
      }
      #Layer3 {
      position:absolute;
      width:813px;
      height:492px;
      z-index:4;
      left: 2px;
      top: -6px;
      }
      #Layer4 {
      position:absolute;
      width:179px;
      height:24px;
      z-index:4;
      left: 471px;
      top: 223px;
      }
      #Layer5 {
      position:absolute;
      width:184px;
      height:131px;
      z-index:4;
      left: 574px;
      top: 193px;
      }
      #Layer6 {
      position:absolute;
      width:778px;
      height:481px;
      z-index:5;
      left: 0px;
      top: 0px;
      background-image: (basereel.jpg);
      }
      #Layer7 {
      position:absolute;
      width:263px;
      height:256px;
      z-index:5;
      left: 114px;
      top: 81px;
      }
      #Layer8 {
      position:absolute;
      width:33px;
      height:7px;
      z-index:6;
      left: 114px;
      top: 121px;
      }

      -->
      </style>
      <script type="text/javascript">
      <!--
      function MM_CheckFlashVersion(reqVerStr,msg){
      with(navigator){
      var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
      var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
      if (!isIE || !isWin){
      var flashVer = -1;
      if (plugins && plugins.length > 0){
      var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
      desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
      if (desc == "") flashVer = -1;
      else{
      var descArr = desc.split(" ");
      var tempArrMajor = descArr[2].split(".");
      var verMajor = tempArrMajor[0];
      var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
      var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
      flashVer = parseFloat(verMajor + "." + verMinor);
      }
      }
      // WebTV has Flash Player 4 or lower -- too low for video
      else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

      var verArr = reqVerStr.split(",");
      var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

      if (flashVer < reqVer){
      if (confirm(msg))
      window.location = " http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
      }
      }
      }

      function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
      var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
      if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
      }

      function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
      }

      function MM_findObj(n, d) { //v4.01
      var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
      d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
      }

      function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
      if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
      }
      //-->
      </script>
      <body onLoad="MM_CheckFlashVersion('7,0,0,0','');MM_prel oadImages(' http://i40.tinypic.com/mcpsif.jpg','http://i43.tinypic.com/2m27xmv.jpg','http://i40.tinypi c.com/3d8wo.jpg','http://i43.tinypic.com/ay4sie.jpg','http://i42.tinypic.com/nx2cl1.jpg',' http://i39.tinypic.com/f1xopf.jpg')">
      <div id="Layer6">
      <div id="Layer5">
      <p align="right"><a href="/musicvideos.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','',' http://i40.tinypic.com/mcpsif.jpg',1)"><img src=" http://i40.tinypic.com/mcpsif.jpg" name="musicvideosbutton" width="185" height="20" border="0" /></a><a href="/films.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('filmsbutton','',' http://i43.tinypic.com/2m27xmv.jpg',1)"><img src=" http://i43.tinypic.com/2m27xmv.jpg" name="filmsbutton" width="76" height="22" border="0" /></a><a href="/commercials.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('commercialsbutton','',' http://i40.tinypic.com/3d8wo.jpg',1)"><img src=" http://i40.tinypic.com/3d8wo.jpg" name="commercialsbutton" width="184" height="22" border="0" /></a><a href="/photography.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('photographybutton','',' http://i43.tinypic.com/ay4sie.jpg',1)"><img src=" http://i43.tinypic.com/ay4sie.jpg" name="photographybutton" width="183" height="25" border="0" /></a><a href="/about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('aboutbutton','',' http://i42.tinypic.com/nx2cl1.jpg',1)"><img src=" http://i42.tinypic.com/nx2cl1.jpg" name="aboutbutton" width="78" height="27" border="0" /></a></p>
      <div id="Layer8"><a href="/index.html"><img src="homebutton.jpg" width="70" height="22" border="0"></a></div>
      <p align="right"><a href="/about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('aboutbutton','',' http://i42.tinypic.com/nx2cl1.jpg',1)"></a><a href="/photography.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','',' http://i43.tinypic.com/ay4sie.jpg',1)"></a></p>
      <p align="right"><a href="/about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('aboutbutton','',' http://i42.tinypic.com/nx2cl1.jpg',1)"></a><a href="/about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('aboutbutton','',' http://i39.tinypic.com/f1xopf.jpg',1)"></a><a href="/about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('aboutbutton','',' http://i42.tinypic.com/nx2cl1.jpg',1)"></a></p>
      </div>
      <div id="Layer7">
      <p align="center">
      <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="250" height="250" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Progressive.swf"/>
      <param name="salign" value="lt"/>
      <param name="quality" value="high"/>
      <param name="scale" value="noscale"/>
      <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_ 1&streamName=AnnaMaltezosReel2008&autoPlay=true&au toRewind=false"/>
      <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_S kin_1&streamName=AnnaMaltezosReel2008&autoPlay=tru e&autoRewind=false" quality="high" scale="noscale" width="250" height="250" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="macromedia.com/go/getflashplayer"/>
      </object>
      </div>
      </div>
      <a href="/musicvideos.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('musicvideosbutton','',' http://i40.tinypic.com/mcpsif.jpg',1)"></a>
      </body>
      </html>
        • 1. Re: Problem with flash video
          Level 7
          Did you upload all the dependant files to server?

          Can't find this one "FLVPlayer_Progressive.swf"

          BTW: you have no document type declaration on your pages.
          Go to File > Convert > pick-one from the list.

          Also, you have no content on the page for Search Engines to grab onto. No
          text based links for spiders to follow either. An image/flash only site
          without keyword rich content doesn't exist.
          This is what the Search Engines see when they visit your site:
          http://www.seo-browser.com/

          Just thought you should know.


          --
          Nancy O.
          Alt-Web Design & Publishing
          www.alt-web.com