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:
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:
Loading the player...
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'
});
↧