How to allow CORS request from Javascript in Adobe Media Server
问题 I have a html page, calling HLS from javascript. Getting CORS error, of header "allow-control-allow-origin". I am using Adobe Media Server 4.5. How can i allow CORS request from javascript? 回答1: Adobe Media Server use Apache HTTP Server. To enable CORS you need to add following line to Apache HTTP Server configuration file: Header set Access-Control-Allow-Origin "your_page_origin" You need to replace "your_page_origin" with origin of the page that will make requests, or with "*" to allow