Security Sandbox Violation with Youtube API

后端 未结 1 1790
悲哀的现实
悲哀的现实 2021-01-22 08:17

I\'m getting a very annoying run time error message, which crashes my flash application when it runs in the browser. The error pertains to a \'Security Sandbox Violation\' when

1条回答
  •  逝去的感伤
    2021-01-22 08:40

    You need to specify a crossdomain.xml policy-file according to Adobe Flash security rules.

    1) Place the crossdomain.xml at the root directory of your website

    2) Example content (not recommended)

        
        
           
        
    

    3) Load the policy-file into your project (AS3):

        System.security.loadPolicyFile("http://www.DOMAIN.net/crossdomain.xml");
    

    Read the reference document for further information.

    0 讨论(0)
提交回复
热议问题