Thanks Fotiman
The conflict occurs in the following situation.
I load flash content with the embed tag on an ajax page that uses a history plugin such as jquery hashchange(http://code.google.com/p/footprint2009dev/source/browse/trunk/frontend/js/jquery.hashchange-1.0.0.js?spec=svn409&r=337)
Here's what happens with the meta tag:
The hash value is added to the meta tag.
"Document Title" becomes "Document Title#newpage" when I activate the flash and remains for the rest of the navigation.
Note: Nothing else that I load via AJAX (HTML, images, inline-script etc ...), causes this problem. The meta error only happens when if I use the embed tag without the object tag on an ajax page with a history plugin. When I remove the history plugin, the embed tag works perfectly without the object tag even in ie8. As mentioned in my previous post, I’d like to continue using the embed tag without the object tag as it reduces the latency of my initial page load.
Here's the Javascript:
// by clicking on a button AJAX is called
$('#ajaxButton').click(function(e)
{
$.locationHash(hash);
if (hash != lastHash){
lastHash = hash;
pageload(hash); // function which invoke the AJAX
}
});
// onhashchange (f.e. BACK button) AJAX is called
$(document).ready(function() {
$(window).hashchange(function() {
var hash = location.hash;
if (hash != lastHash){
lastHash = hash;
pageload(hash) // function which invoke the AJAX
}
});
});
And here’s my flash code which I load via AJAX:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_12121f79-0ce8-4ce6-b3df-fdbec7914ea9" width="160px" height="600px"><param name="movie" value="<flash_url>"><param name="quality" value="high"><param name="bgcolor" value="#f8f8f8"><param name="allowscriptaccess" value="always"><param name="wmode" value="transparent"></object>