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.
Most probably a paths issue. Can you post a link to the wp page that has the swf embedded?
Thanks. When you mentioned paths, I double checked mine. You were right.
Apparently, for some reason, in my flash movie I had to use the absolute path when calling the txt doc (the full url) even thought the txt doc was in the same directory as the swf on the server. those files were all together but the actual wordpress page was in a different directory. all in all, I got it working.
Ah nice one:thumbsup:
|All times are GMT +1. The time now is 10:42 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.