Hi, I’m currently looking into writing a Javascript-based client that can connect to Plex - with the hope that it can be used both within browsers and on devices such as Samsung TVs.
I’ve hit an immediate snag in the browsers I’ve tried (Chrome, Firefox) where unless I turn off the cross site security measures I can’t make an HTTP request from Javascript to the Plex server. It appears that having the Access-Control-Allow-Origin header sent by Plex’s web server (preferably with a wildcard for allowing all domains!) would do the trick, but I have no idea where I’d be able to set this up within PMS.
More information on the header can be read at:
https://developer.mozilla.org/En/HTTP_Access_Control
Does anyone know if there’s a way I can get Plex Server to send this header? Is there another way around this problem?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.