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

HLS through CloudFront with Signed URL


Does JW Player support HLS when it's served through CloudFront with signed URL enabled? I'm getting cross domain error. When I play it through a non-signed url enabled distribution, it works fine.

I'm using the cloud hosted JW player. I want to only serve my content through a signed URL distribution. How can I approach this?

When I capture the header information, I see the following. I believe this is because JW Player is trying to access the crossdomain.xml from a distribution that only allows Signed URLs. Is there way to configure JW Player to add the signed hash?

http://XXXXXXX.cloudfront.net/crossdomain.xml

GET /crossdomain.xml HTTP/1.1
Host: XXXXXXX.cloudfront.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.0 403 Forbidden
Server: CloudFront
Date: Wed, 04 Jun 2014 18:12:38 GMT
Content-Type: text/xml
Content-Length: 130
X-Cache: Error from cloudfront, MISS from XXXX.XXX.XXXX
X-Amz-Cf-Id: 7h9nM1mxOIHZrkRvbuVhsFFv_kyzR8_WpK_oIC7bhOgPh1xCcYeWKQ==
Via: 1.1 XXXXXXXXXXXXXXXXXXXXX.cloudfront.net (CloudFront), 1.0 XXXXXXX.XXXX.XXXX(http_scan_byf/3.1.12.1)
Connection: keep-alive

5 Community Answers

Andrew

JW Player Support Agent  
0 rated :

Hi,

You would need to configure a crossdomain.xml file at the specified address. Our player is checking this to make sure that it has permission to access your files. Please see our article here:
support.jwplayer.com/customer/portal/articles/1403679-crossdomain-file-loading

Regards,
Andrew

ysivabrinthan

User  
1 rated :

My crossdomain.xml is set to allow any site with this <allow-access-from domain="*" />.

The file is in xxx.cloudfront.com/crossdomain.xml. But that distribution is set to allow only Signed URL. I think JW Player is trying to access the crossdomain.xml file without the signed hash. So, it's getting a forbidden error message.

Andrew

JW Player Support Agent  
0 rated :

As far as I know, we should support this configuration. Do you happen to have a test page that exhibits this issue?

ysivabrinthan

User  
0 rated :

I'll setup a test page today and show you Andrew. Thank you for your reply.

Andrew

JW Player Support Agent  
0 rated :

Great! Keep us posted.

This question has received the maximum number of answers.