Jump to content


Corporate Sponsors


Latest News: (loading..)

Embedded flash + www. error in Firefox


1 reply to this topic

#1 lucilled

  • Community Member
  • 33 posts
  • Real Name:Lucille
  • Gender:Female
  • Location:Montreal

Posted 25 November 2010, 18:14

I've got the following code on my index.php page:

<object width="710" height="365">
<param name="movie" value="header.swf">
<embed src="header.swf" width="710" height="365">
</embed>
</object>

The flash won't load if previewed in Firefox when inserting the "www." If we visit the site without the "www." then it works in Firefox. I've tried changing my configure.php file to have "www." for each line, and then tried it again without the "www." Whichever setting is set in this file is the one that works with the flash. (It works perfectly fine in Internet Explorer, with and without the "www.").

In other words, when setting my configure.php file is like so:

<?php
define('HTTP_SERVER', 'http://domain.com');
define('HTTPS_SERVER', 'https://domain.com');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'http://domain.com');
define('HTTPS_COOKIE_DOMAIN', 'https://domain.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
[...]
?>

If previewing the site at domain.com, the flash works. If previewing the site at www.domain.com, the flash doesn't show.

If setting my configure.php file is like so:

<?php
define('HTTP_SERVER', 'http://www.domain.com');
define('HTTPS_SERVER', 'https://www.domain.com');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'http://www.domain.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.domain.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
[...]
?>

If previewing the site at www.domain.com, the flash works. If previewing the site at domain.com, the flash doesn't show.


Maybe there's a line of code inside my embedded code for flash??

Please let me know of any ideas that might fix this issue.

Thanks.

#2 lucilled

  • Community Member
  • 33 posts
  • Real Name:Lucille
  • Gender:Female
  • Location:Montreal

Posted 26 November 2010, 18:44

Anybody?