0 Replies Latest reply on Aug 5, 2011 4:20 PM by flexstone

    youTube Chrome Player and crossdomain frustration !

    flexstone Level 1

      I have been struggling trying to get youTube chrome player to implement with a new crossdomain policy.

       

      Everything works fine until I added a crossdomain policy file and implemented security

       

      Here is my crossdomain.xml

       

      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM
      "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
      <cross-domain-policy>
      <site-control permitted-cross-domain-policies="master-only"/>
      <allow-access-from domain="*.mydomain.com" />
      <allow-access-from domain="*.youtube.com" />
      </cross-domain-policy>

       

      in my app I have declared

       

      Security.allowDomain("*");
      Security.allowInsecureDomain("*");
      Security.loadPolicyFile('*');

       

      debugger reports

       

      Warning: Domain gdata.youtube.com does not explicitly specify a meta-policy, but Content-Type of policy file http://gdata.youtube.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.

       

      Otherwise there are no errors but the youTube loader is added to the stage and then freezes before loading the video....

       

      Anyone successfully implement youtube chrome player with security ???