![](https://secure.gravatar.com/avatar/f1cc0a9504def5890507ec2f9c82ad14?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
crossdomain access denied
Dear JWplayer support!
I paid yesterday for the starter kit.
I tried to play hls streaming. The url is //212.92.4.197:8080/hls/lhstream.m3u8. But i got error, Crossdomain access denied!
my webserver CORS settings :
location / {
# Disable cache
add_header 'Cache-Control' 'no-cache';
# CORS setup
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length';
# allow CORS preflight requests
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 204;
}
This is the origin Nginx conf. Should i change it?
Thank you for the help!