Add CORS headers to the HTTP interface
I'm working on an application that basically implement a JavaScript frontend for the VLC HTTP interface.
The problem is that I can't access it from a website that is not running on localhost. The best solution for me would be to have the CORS headers added to the HTTP server.
Access-Control-Allow-Origin: *
Perhaps this shouldn't be allowed by default, as you probably don't want random websites accessing your local VLC instance, but there could be an option to add the header.
For now, I've written a simple proxy that adds the headers. The project I'm working on is not really for normal users, so that's fine, but it would be great if VLC supported this on its own.