I created a live stream using the rest api and got the players for the stream but following is my player code
<div id="playerElement" style="width:100%; height:0; padding:0 0 56.25% 0"></div><script type="text/javascript">var myPlayer = WowzaPlayer.create('playerElement',{
"license":"my license key","title":"My-Test Stream","description":"MY Test player","sourceURL":"https://c8ad36-sandbox.entrypoint.cloud.wowza.com/app-c5a2/ngrp:f0aa5cf1_all/playlist.m3u8","autoPlay":false,"volume":"50","mute":false,"loop":false,"audioOnly":false,"uiShowQuickRewind":true,"uiQuickRewindSeconds":"30"}
);</script>
when i click on the player play icon it gives me error of stream unavialable check cross origin policy
what is the solution to this.
thanks