# Access-Control-Allow-Origin

The value to set for the `Access-Control-Allow-Origin` response header, when the MJPEG stream is requested. Media Server does not set this header by default.

The Media Server graphical user interface sets this parameter automatically in session configurations that it generates. You might need to set this parameter so that a front-end can display video from the MJPEG engine. For example, if your front-end is installed on a server `analysis1.example.com` you might configure the following:

    Access-Control-Allow-Origin=http://analysis1.example.com:8080

Alternatively, you can permit access from any origin by setting:

    Access-Control-Allow-Origin=*

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `Access-Control-Allow-Origin=*`
See Also: |

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm