|
complicated issue with loading swf into a wordpress page.
I have a very complicated situation and iv tried endless approaches.
ok, I have a swf file that loads external mp4 videos. a external txt doc tells the flash file the list of videos. that way I can add/remove videos without editing the flash all of the time. I just need to update the txt file.
The txt file, swf file and videos are all in 1 folder on the server.
when tested in its own html page, it all works fine. the videos play. if I update the txt doc, the new info is properly displayed in the swf.
here is the problem, I have to embed this swf into a wordpress page ( home.php) and it loads the swf fine but.... the swf stops interacting with the txt doc. no videos get called in.
I really don't know why that happens. I mean the swf,txt doc and videos are all in their own folder but when you call the swf into wordpress, it stops working.
I have been using the standard object embed tag ( like you see with youtube videos) and it just wont work. the flash file does come up on the page but no videos will load because it stops interacting with the txt doc.
my alternative was to call it in with an iframe but that had its own issues ( the txt doc updates wouldn't refresh, when the wordpress site got refreshed). I wont even bother with the iframe approach for that reason.
Im really stuck here on a way to embed this swf in wordpress and the swf will still call its txt info.
Last edited by gribbs100; 01-26-2010 at 01:02 AM..
|