PDA

View Full Version : SWF access via a sub domain


ian.ford
08-06-2009, 07:52 PM
Sorry if this has been posted I did a search and did not come up with any results that were the same as my issue.

I have an .swf file located at mydomain.com and I am trying to play the .swf file on xyz.mydomain.com.

This is all happening in a jquery load function which it is calling a .php file which has all the required componets to display the flash file. But on xyz.mydomain.com the movie never loads. If I call the jquery from the root domain (mydomain.com) the movie loads fine.

I was leaning toward an issue with jquery but I have got the script to pull other data and pages from the root domain to the sub domain so I have ruled that out. I have also looked into the crossdomain.xml file and that has not helped either.

Any suggestions would be great.

Again sorry if this has been posted before but I was unable to find any post that was having the same issue I was.

ian.ford
08-06-2009, 08:13 PM
Well think I figured it out.. I have an xml file with my videos in it and a skin file and looking over the logs those two files are being looked for in the sub domain directory when they live in the root domain directory. So looks like I need to rebuild the player to fix the realavite pathing for the includes.