Embed script for Cloudflare Stream not working


#1

Hi.

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:

https://embed.cloudflarestream.com/embed/we4g.fla9.latest.js?video=XXX

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:

https://embed.cloudflarestream.com/embed/r4xu.fla9.latest.js?video=XXX

Note that the files are different.