1 Reply Latest reply on Nov 26, 2009 1:43 PM by John Hall

    Flash Video Not Playing on Site but Plays Locally

    Zyde9205

      So I am relatively new to Flash and After Affects but I managed to make a nice video with Adobe After Effects that my friend wanted to put on his site. After I was done rendering it I used Adobe Media Encoder to make the .avi file into a .f4v file for flash. After opening that flash file with Flash i exported it out into a .swf file. When I opened the .swf it played perfectly, just the way it should. I edited my index.html with Dreamweaver and the coding and everything seemed fine. After previewing the index.html with my browser and Dreamweaver's Live View I was quite satisfied with my results. When I uploaded the files onto my site the flash did not play. It plays locally on my PC but not on the site. I later asked a few more experienced buddies what was wrong and they confirmed that they weren't able to play the file locally nor from the site. At first I thought I may have mixed up the links but they were fine. Here is the code I used for my index.html page.

       

      <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

      <BODY BGCOLOR="#000000">

      <table width="100%" border="0" cellspacing="1" cellpadding="1">

      <tr>

      <td> </td>

      <td><br>

      <br>

      <br>

      <br>

      </td>

      <td> </td>

      </tr>

      <tr>

      <td> </td>

      <td><div align="center">

        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1000" height="727">

          <param name="movie" value="intro.swf">

          <param name="quality" value="high">

          <param name="wmode" value="opaque">

          <param name="swfversion" value="6.0.65.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="intro.swf" width="1000" height="727">

            <!--<![endif]-->

            <param name="quality" value="high">

            <param name="wmode" value="opaque">

            <param name="swfversion" value="6.0.65.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" width="112" height="33" /></a></p>

            </div>

            <!--[if !IE]>-->

          </object>

          <!--<![endif]-->

        </object>

      </div></td>

      <td> </td>

      </tr>

      <tr>

      <td> </td>

      <td>

      <table width="1000" border="0" align="center" cellpadding="1" cellspacing="1">

      <tr>

      <td align="right"><a href="home.html"><img src="mainpage.jpg" width="200" height="25" border="0"></a></td>

      </tr>

      </table>

      </td>

      <td> </td>

      </tr>

      </table>

      <script type="text/javascript">

      <!--

      swfobject.registerObject("FlashID");

      //-->

      </script>

      </BODY BGCOLOR>

       

      Like I said. It works locally for me but not for anyone else. It also works in Dreamweaver when I click on the "Live View". But it does not work on the site and does not work on other people's PC locally.

      Help Please

        • 1. Re: Flash Video Not Playing on Site but Plays Locally
          John Hall Level 4

          With F4V, the first place to start is to make sure they have at least Flash 9 installed (that's probably not the problem but always needs to be verified). When you say your friends can't play it locally, is there any error message or any indication that it's finding the file? Are they trying to play it through a browser or via an executable file or swf outside the browser. As far as not playing on the web, do you know that the server that is hosting the files has the MIME type set for Flash video?