When editing content on one domain with base_url explicitly set the swfobject2_swftoos_embed() sets the javascript with the URL of the editing domain regardless of the setting of swftools_media_url.

To better explain;

1. edit content on one domain let's say web1.mydomain.com
2. swftools_media_url is set as http://www.mydomain.com
3. user edits content via web1.mydomain.com with base_url explicitly set
4. the content gets built and cached with urls pointing to web1.mydomain.com rather than www.mydomain.com

To have the content properly built the cache must be cleared and then the user must view the content from www.mydomain.com. This time around the node is built and the content is cached with the proper www.mydomain.com rather than web1.mydomain.com.

It seems that the issue is in the swf() function. Attached is a patch which resolves the issue for us.

CommentFileSizeAuthor
#1 swftools-1003648.patch773 bytesjgraham
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jgraham’s picture

FileSize
773 bytes
jgraham’s picture

Status: Active » Needs review
nottaken’s picture

The patch is working for me. I've been using the patch for several months now. Thanks jgraham.