Relative or Absolute Paths for Flash Video Player Files

When dealing with WordPress and Flash, we have to use always absolute URLs. When embedding, when referencing inside the ActionScript, in XML files and when dealing with Remoting. This way is hassle free.

I put my SWFs inside wp-content/swf/ and use the URL http://example.com/wp-content/swf/my-flash.swf. There’s nothing virtual about this, it has to be real.

Leave a Comment