How to embed .swf file that loads content from .xml file
-
I found many people trying to embed a swf that is loading content from a xml file and cant get to work. The .swf file itself in the browser its looking good (https://www.example.com/file.swf) and also on a html file (https://www.example.com/embed_swf.html) but embeding it on a wordpress page fails.
Probably the best solution for this is the most simple one.
If you locate your .swf file in https://www.yoursite.com/wp-content/uploads/ or other folder that is not the root directory. It wont work because the xml file is trying to load the content from the root directory, this is where your index.php file is located. So your .swf file could be wherever you want but itll still call for the xml file in the root directory so the xml file needs to be there. And the xml file would probably call for image files in the root directory too, so your image folder needs to be there to.
- The topic ‘How to embed .swf file that loads content from .xml file’ is closed to new replies.