I am trying to embed a swf file to a page (google app engine page ) by following javascript code:
<script type="text/javascript">
//This example uses dynamic publishing with swfObject. Login is handled in the swf
//Note we are passing in attribute object with a 'name' property that is same value as the 'id'. This is REQUIRED for Chrome/Mozilla browsers
swfobject.embedSWF("loader.swf", "flashContent", "640", "480", "10.2", null, null, null, {name:"flashContent"});
//REST OF THE CODE
</script>
It works properly on HTTP, but the content does not work on HTTPS. I've googled a lot but I did not find the solution. I need to use HTTPS for Secure Canvas URL for creating facebook application. As you can see in the comments below, https work on safari but not in Chrome.
Any idea will be appreciated.
I can see that https://radmahdi.appspot.com/facebook/userstatusweb/index.html is now working for you, once you changed the link to swfobject from HTTP to HTTPS as I suggested in my comment :)
You could do
//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js
as your link, in which case the protocol used will be relative to the page loaded. Which is probably neater.
If you are happy with the solution, please mark the question as answered.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With