I have spent days trying to figure this one out and I can't.
I have a swf file that loads a FLV file using the standard flash 8 player FLVPlayback. It is an intro movie so I am not using any controls for this FLV.
What my swf does it display a 5,4,3,2,1, coutdown and then on the last frame I have the FLVPlayback autostart my FLV file.
When I use the standard code to generated by Flash 8 to embedd the swf it works great but I have to activate it.
If I change nothing and use SWFObject or UFO my swf will just loop continuously and never play the FLV file.
The code I am using is for SWFObject is:
<script type="text/javascript"> // <![CDATA[ var so = new SWFObject("skip.swf", "skip", "550", "400", "9", "#000000");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
All my files are in the same directory, the FLVPlayvack paramater contentPath in the swf is Webvideo13.flv
I have seen alot of examples of people defining their FLV file like:
<script type="text/javascript"> var s1 = new SWFObject("skip.swf","single","550","400","7"); s1.addParam("allowfullscreen","true"); s1.addVariable("file","Webvideo13.flv"); s1.addVariable("image","preview.jpg"); s1.write("player1"); </script>
But that doesnt work for me. My swf just will loop forever. No error messages of any kind it just loops. Do I need to import that s1 varaible into my FLVPlayback component somehow??
Any insight into this would be greatly appreciated.
PLease post examples of your working <object / embed> version, and the non working swfObject pages so we can see any differences you might have missed.
Below are my two pages that just loop the swf file using SWFObject and UFO.
I have tried this on my cox webspace, a godaddy windows and linux plan, and a windows 1stchoicehosting plan, and all 4 different platforms give me the same results on the files.