# How to add Allow-Control-Allow-Origin to the conf/VHost.html so Chrome will play the stream

**URL:** <https://community.wowza.com/t/how-to-add-allow-control-allow-origin-to-the-conf-vhost-html-so-chrome-will-play-the-stream/96334>\
**Category:** Wowza Streaming Engine\
**Created:** [July 24, 2023, 7:04pm UTC](https://community.wowza.com/t/how-to-add-allow-control-allow-origin-to-the-conf-vhost-html-so-chrome-will-play-the-stream/96334 "2023-07-24T19:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don\_Maxwell](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@Don\_Maxwell](https://community.wowza.com/u/Don_Maxwell)\
**Post date:** [July 24, 2023, 7:04pm UTC](https://community.wowza.com/t/how-to-add-allow-control-allow-origin-to-the-conf-vhost-html-so-chrome-will-play-the-stream/96334/1 "2023-07-24T19:04:46Z")

</div>

I added the following to the conf/VHost.html  
  
  
optionsCORSHeadersAddMain  
Access-Control-Allow-Headers:X-Authorization  
  
String  
  
  
But the players I am testing with are asking me to add Allow-Control-Allow-Origin as well

I added the above because that was the Wowza tutorial I read. I am trying to get Chrome to play the stream

---

<div class="post-metadata">

**Author:** ![Don\_Maxwell](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@Don\_Maxwell](https://community.wowza.com/u/Don_Maxwell)\
**Post date:** [July 24, 2023, 7:09pm UTC](https://community.wowza.com/t/how-to-add-allow-control-allow-origin-to-the-conf-vhost-html-so-chrome-will-play-the-stream/96334/2 "2023-07-24T19:09:39Z")

</div>

Boy, the message stripped out what I wrote… I’ll try again…

Properties\>  
Property\>  
Name\>optionsCORSHeadersAddMain\</Name  
Value\>Access-Control-Allow-Headers:X-Authorization\</Value  
Type\>String  
\</Property  
\</Properties

What do I add or delete to get Chrome to play?
