I have been using SWFobject for a while and I have run into an odd problem. I am getting perfect performance locally but when uploaded the page freezes. I have checked it in firefox and safari.
Here is the code: <script type="text/javascript"> // <![CDATA[ var fObj = new SWFObject("rgbloader.swf", "demoreel", "360", "283", 8, "#FFFFFF"); fObj.write("demoreel"); // ]]> </script>
I have updated to 1.4.4, reloaded the files, checked the syntax and I am at a lose.
Do I need to have some sort of code in the htaccess?
Sorry to have taken your time. It was not a bug in SWFobject but a missing line in the HTaccess file. To get the flash video to work I had to add:
AddType video/x-flv .flv
It was trying to interpret the movie as a text document otherwise. Having read through the forum yesterday I would not be surprised if this might help others, you might want to add it to your FAQ.