1 Reply Latest reply: Sep 22, 2009 4:34 AM by Ullitasch RSS

    Embeded SWF sometimes is not loading in Firefox

    Ullitasch Community Member

      I get the datas for my swf-file from a php file: input.php (see code below).

      The player code in the index.php is :

      <div id="projectcontainer">   
      <script type="text/javascript">
      AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','730','height','550','title','Ritzen','src','player','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','player' ); //end AC code
      </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="730" height="550" title="NameTitle">
            <param name="movie" value="player.swf" />
            <param name="quality" value="high" />
            <embed src="player.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="730" height="550"></embed>
          </object></noscript>
      </div>
      



      Now happens that the flash-movie sometimes is not loading. Status bar: "Transferring data from www.etc.com ...".

      Then after some time of refreshing it does load.Status bar: "Read www.etc.com"

      It only happens in Firefox (Mac and PC).

       

      Thanx for any further help

       

      <?PHP
      
      $link = mysql_connect("host","user","password");
      mysql_select_db("db");
      
      $query = 'SELECT * FROM home WHERE extension = "image/jpeg" OR extension = "flash/flv" OR extension = "flash/swf"';
      $results = mysql_query($query);
      
      echo "<rss version=\"2.0\">\n";
      echo "\t<channel>\n";
      echo "\t\t<title></title>\n";
      echo "\t\t<link></link>\n";
      echo "\t\t<description>etc.com</description>\n";
      echo "\t\t<language>nl</language>\n";
      echo "\t\t<docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";
      echo "\t\t<generator>etc</generator>\n";
      echo "\t\t<managingEditor>info@etc.com</managingEditor>\n";
      echo "\t\t<webMaster>webmaster@etc.com</webMaster>\n";
      
      
      while($line = mysql_fetch_assoc($results)) {
           echo "\t\t<item>\n";
           echo "\t\t\t<idder>" . $line["id"] . "</idder>\n";
           echo "\t\t\t<title>" . $line["title"] . "</title>\n";
          echo "\t\t\t<link>content.php?id=" . $line['id'] . "&amp;expandable=" . $line['menuLink'] . "</link>\n";
          echo "\t\t\t<content>" . $line['nieuws_content'] . "</content>\n";
          echo "\t\t\t<sizeTxt>" . $line['sizeTxt'] . "</sizeTxt>\n";
           echo "\t\t\t<enclosure url='images/" . $line['file_home'] . "' type='" . $line['extension'] . "' />\n";  
           echo "\t\t</item>\n";
      }
      
      echo "\t</channel>\n";
      echo "</rss>";
      
      mysql_close($link);
      
      ?>
      
        • 1. Re: Embeded SWF sometimes is not loading in Firefox
          Ullitasch Community Member

          This is the .xml file I got with the flash-movie. Maybe I translated wrong to PHP, and why is it rss, if I put it away it does not work at all..?

          http://www.ritzen-design-consult.nl/index3.php

           

           

          <?xml version="1.0" ?>
          <rss version="2.0">
               <channel>
                    <item>
                         <idder>0207</idder>
                         <title>project benaming</title>
                         <link>http://www.test.com</link>
                         <enclosure url='images/video.flv' type='flash/flv' />
                    </item>
                    <item>
                         <idder>0207</idder>
                         <title>project benaming</title>
                         <link>test.com</link>
                         <enclosure url='images/video.flv' type='flash/flv'/>
                    </item>
                    <item>
                         <idder>0207</idder>
                         <title>news items</title>
                         <link>test.com</link>
                         <enclosure url='images/news_02.swf' type='flash/swf' />
                    </item>
                    <item>
                         <idder>0207</idder>
                         <title>project benaming</title>
                         <enclosure url='images/temp.jpg' type='image/jpeg' />
                    </item>
                    <item>
                         <idder>0207</idder>
                         <title>project benaming</title>
                         <enclosure url='images/temp.jpg' type='image/jpeg' />
                    </item>
               </channel>
          </rss>