Copy link to clipboard
Copied
I am trying to set my streams locked to only certain domains. As long as I leave it wide open my player plays the content fine. Once I set a domain I get "We are having problems with playback. We apologize for the inconvenience. Below is my current cross domain file.
<?xml version="1.0"?>
<!-- http://mydomain.com/crossdomain.xml -->
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*www.mydomain.com" />
</cross-domain-policy>
Copy link to clipboard
Copied
Hello, change it to mydomain.com (no www). For subdomains - dev.mydomain.com.
Copy link to clipboard
Copied
Changed it as requested and still get the same error.
Copy link to clipboard
Copied
Have your XML file look like this
<?xml version="1.0"?>
-<cross-domain-policy>
<allow-access-from domain="mydomain.com"/>
</cross-domain-policy>
Copy link to clipboard
Copied
Still getting the same We are having problems with playback. We apologize for the inconvenience after the change of the xml
Copy link to clipboard
Copied
Must crossdomain.xml be in the website root or webroot of AMS?
Copy link to clipboard
Copied
It should be under C:\Adobe Media Server 5\webroot\crossdomain.xml.
Copy link to clipboard
Copied
Yeah, when I put it in there I just get the same error
Copy link to clipboard
Copied
Nothing else can be done to make this work?
Copy link to clipboard
Copied
This is a modified version of crossdomain.xml policy file. Try it and if it doesn't work, you might have some third-party configurations going on.
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only" />
<allow-access-from domain="*.osmf.org" />
<allow-access-from domain="*.adobe.com" />
<allow-access-from domain="*.macromedia.com" />
<allow-access-from domain="*.yourdomain.com" />
</cross-domain-policy>