Hi everyone
I have a Facebook app I did in Flash. The app sits in a PHP wrapper. When I access the PHP with a normal URL call in the browser it loads and all is fine. However, when I try to access it through a secure URL (https) it says the Flash player is not installed. I can access the swf directly through the secure URL so my guess is that it's something in the PHP wrapper.
The code's below. I would appreciate any advice.
Thanks
PHP Code:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<!-- Include support librarys first -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript"> function redirect(id,perms,uri) {var params = window.location.toString().slice(window.location.toString().indexOf('?')); top.location = 'https://graph.facebook.com/oauth/authorize?client_id='+id+'&scope='+perms+'&redirect_uri='+uri+params;} </script>
</head>
<body>
<div id="fb-root"></div><!-- required div -->
<div id="flashContent">
<h1>You need at least Flash Player 10.3 to view this page.</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<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("app6test.swf", "flashContent", "760", "1617", "10.3", null, null, null, {name:"flashContent"});
</script>
</body>
</html>