Embeded SWF sometimes is not loading in Firefox
Ullitasch Sep 17, 2009 8:57 AMI 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'] . "&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);
?>
