Embed script for Cloudflare Stream not working



We’ve finished implementing the embed code in our app for Cloudflare Stream. We’ve noticed that our videos have this URL to load the embed script:


Whenever we use this url, we see requests from the browser failing due to CORS, BUT, because instead of the request URL having our video id, it has a null string, which probably throw an error server side somewhere on Cloudflare infrastructure.

When we use the below URL, everything works just fine:


Note that the files are different.