PHP wrapper and secure URL
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: PHP wrapper and secure URL

  1. #1
    Senior Member
    Join Date
    Mar 2003

    PHP wrapper and secure URL

    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.


    PHP Code:

    <!DOCTYPE html>
    html xmlns="" xmlns:fb="">
            <!-- Include 
    support librarys first -->
    script type="text/javascript" src=""></script>
            <script type="text/javascript" src=""></script>                    
            <script type="text/javascript">    function redirect(id,perms,uri)    {var params = window.location.toString().slice(window.location.toString().indexOf('?'));    top.location = ''+id+'&scope='+perms+'&redirect_uri='+uri+params;}    </script>        
            <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=""><img src="" alt="Get Adobe Flash player" /></a></p>
            <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"});             

  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    I would make sure the path to the swf is correct. It may have to be absolute.
    Using the Network tab in Chrome's developer tools, you can see what files are failing to load (in red) and see what path is being used. That will help you know what needs to change.

  3. #3
    Registered User
    Join Date
    Nov 2012
    I know I could 'just' adjust the image, but I'd still like to know how to do this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center