Relative Links in Flash / Flash Video Component

So I have created a Flash video player that reads FLVs

I am using the Flash Video Component.

I am also using FlashVars to control the content path, so I use my one player on many different FLV files.

Now here is my problem.

With the embed code I must use an absolute http:// pathed link to the FLV video for the video to work.

Is there anyway that I can use relative links inside the embed code as a FlashVar?

I plan on changing/moving my website around each year, so using the ‘base’ attribute doesn’t work, since i’ll need to change that as well.

Since you want to move the site around alot use PHP to set the BASE based on environmental variables.