Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Crossdomain access denied JW Player 7


I'm trying to upgrade from JWP6 to 7 on wordpress and have run into the crossdomain issue when loading in flash on Chrome and Firefox and natively through Safari on OSX Yosemite.

The files are hosted on S3 and distributed through Cloud Front

I've created and placed a crossdomain file with the following code in both the S3 buckets for the streams, backup mp4s and the thumbnails:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

Here is the test page https://www.parellisavvyclub.com/crossdomaintest/

Here is my code. Keep in mind I have the androidhls line in antcipation of upgrading to JWP7 and am using primary flash to force the test. If I remove the primary flash line, the player will load the backup mp4s however it will not load the m3u8 stream even in Safari.

Here is my code:

<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
playlist: [{
sources: [{
file: "https://d3fk8fzsguno39.cloudfront.net/M01ProblemHorseTying/M01ProblemHorseTying.m3u8",
title: "Problem-Solving : Tying"
},{
file: "https://d3fk8fzsguno39.cloudfront.net/M01ProblemHorseTying/USP.mp4",
title: "Problem-Solving : Tying"
},{
file: "https://d3fk8fzsguno39.cloudfront.net/M01ProblemHorseTying/AdvancedSmartPhone.mp4",
title: "Problem-Solving : Tying"
},{
file: "https://d3fk8fzsguno39.cloudfront.net/M01ProblemHorseTying/AdvancediOS.mp4",
title: "Problem-Solving : Tying"
},{
file: "https://d3fk8fzsguno39.cloudfront.net/M01ProblemHorseTying/Android720P.mp4",
title: "Problem-Solving : Tying"
}]
}],
primary: 'flash',
androidhls: 'true'
});
</script>

2 Community Answers

jlove

User  
0 rated :

I've resolved this by making the file readable. Obvious mistake!

Cooper Reid

JW Player Support Agent  
0 rated :

Glad you got it worked out!
Cooper

This question has received the maximum number of answers.