
Crossdomain policy restrictions
I am trying to use Amazon Cloudfront to stream a film I produced. The materials below are the trailer, which I am using to work out the bugs. In fact, the domain for this website is more or less inactive, and I'm using it as a test platform.
I can play the file locally from my own web server. So the player works on files on the same server.
When I go to the files on cloudfront I get an error that says "Task Queue failed at step 5: Playlist could not be loaded due to crossdomain policy restrictions."
A little research suggested I need an xml file in the root where the media files are located ... Amazon's S3 simple storage service.
Nothing works. Nothing. I have been struggling with this for DAYS ... and I need to get it fixed. Today if possible.
Here are the relevant S3 files ...
https://s3.amazonaws.com/teapartycult/MegadittoesWebsiteTrailerOldWDefeatTag3-19-2012Sony2128.mp4
https://s3.amazonaws.com/teapartycult/crossdomain.xml
Here is a link to the page where the video player gives me the error.
http://takeontheteaparty.com/videos/trailer-in-2128-kpbs/
Here is the embed code
<embed
id='mediaplayer1'
name='mediaplayer2'
src='http://takeontheteaparty.com/wp-content/plugins/jw-player-plugin-for-wordpress/player.swf'
width='480'
height='270'
allowfullscreen='true'
allowscriptaccess='always'
bgcolor='#000000'
wmode='opaque'
provider='rtmp'
streamer='rtmp://s1ghspazjf1lbx.cloudfront.net/cfx/st/:1935/cfx/st'
flashvars='file=mp4:MegadittoesWebsiteTrailerOldWDefeatTag3-19-2012Sony2128'/>
And the xml cross domain file.
<?xml version="1.0" encoding="utf-8" ?>
<!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="*" />
<allow-http-request-headers-from domain="*"
headers="SOAPAction" />
</cross-domain-policy>
Please help.