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!
↧