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

Crossdomain and CORS but which server


Having red the help file a million times I still do not understand which server these things go on.

For example, I have 1 domain where the web page is loaded , 1 domain where the player is loaded and one domain where the player skin is loaded. On which server do I place the 1) crossdomain xml and 2) configure the CORS

In the meantime because I am confused I have placed them in multiple location to get it working - i just want to have an understanding please

5 Community Answers

Andrew

JW Player Support Agent  
0 rated :

Hi,

You would need to configure the cross domain for the location that you’re requesting resources from.

For example, if I am using the player on Domain A, but hosting content on Domain B, I will need to configure Domain B to allow access.

mark

User  
0 rated :

cheers, i get this for a single reference but not for both player and skin..

lets just talk about CORS for the moment because flash is working just not html5

My web page is on domain A - my player is on domain B and also my skin is on domain B ( B is actually a Cloudfront distribution)

So I set CORS on the S3 bucket but to what domain
Is it only domain A or is it also domain B - and is there anything on the domain A that I have to setup that send appropriate headers
Thanks

Andrew

JW Player Support Agent  
0 rated :

CORS is only for HTML5. Flash requires crossdomain.xml. Please see our article on this here:

http://support.jwplayer.com/customer/portal/articles/1403679-crossdomain-file-loading

mark

User  
0 rated :

I know that - I don't think you read my post

Andrew

JW Player Support Agent  
0 rated :

Hi Mark. You got me. It’s been a hectic few days.

If you’re loading content from domain B (Skins and whatnot) you’ll only need to configure your crossdomain access on domain B. I will say that Amazon does have a few additional settings to contend with crossdomain configuration. Double-edged sword, since the configuration can be slightly different/involved then with other hosts.

This question has received the maximum number of answers.