Cloudflare Stream Video Signed URL

Hi,

I am looking to protect my stream video by signing it.

I have followed the exact procedure mentioned on the
https://developers.cloudflare.com/stream/viewing-videos/securing-your-stream

My Frame tag looks like this:

<iframe src="https://iframe.videodelivery.net/eyJhbGciOiJSUzI1NiIsImtpZCI6ImE5NTg4NjYwMWYwZjlhYTM3ZmJjZTk1YzZmMzMxNzUxIn0.eyJzdWIiOiIwNTE1OWFmMmE1M2E4ZWY2ZWMwNWYzYWU4MDY0YWZlZSIsImtpZCI6ImE5NTg4NjYwMWYwZjlhYTM3ZmJjZTk1YzZmMzMxNzUxIiwiZXhwIjoxNjQzOTc2NzI4LCJhY2Nlc3NSdWxlcyI6W3sidHlwZSI6ImlwLmdlb2lwLmNvdW50cnkiLCJhY3Rpb24iOiJhbGxvdyIsImNvdW50cnkiOlsiR0IiXX0seyJ0eXBlIjoiYW55IiwiYWN0aW9uIjoiYmxvY2sifV19.F7gXnwpYOlxamIIws06lmid-9ghBa_czQEewS4xQ0LIfUivq8MnZLcCo5UofmRj_sKUs-zgNgKi2mgHategVkKejxwuur7CDBVZSrB0mhCAscqDDyEyAYhG7uBD0WkK86NbUdRuKQu6Nv3Hh38XBPR8ohDgttjKxAU2Ifi9n85jtZcxvvX6Dgc8WZCGvAgPlHNjqNB5OWlCIzRsj2ZfNf4V5KgY0l24VN1kfZ_RRmHpoNFXUhqXhxABOYOaHelMtjxbfcz9lK3_w4AtAs9qlu_kYgHgVDgJvDyJv_7x77rNfXbcS5u-cpO-VP6DLx2AQ4wEt1Ssm2kyvDGkYGhG0ow" style="border: none;" height="720" width="1280" allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe>

The frame doesn’t appear but when I manually copy paste the URL above I consistently get the following error on the video player:
“You don’t have permission to view this video”

PS: For testing purpose I am printing the signed token and manually copying it over the URL before I embed.

Any pointers would be highly appreciated.

Update: Option 1 worked perfectly fine for me, something is going wrong on Option 2 of securing stream.

1 Like

If you edit the title of your post to categorize it under Developers → Stream, you’ll probably get more eyes on the issue.

1 Like

Thanks @sdayman , I see it’s tagged on Developers Stream not sure if someone moved it for me.

Any thoughts on the issue? Any inputs would be appreciated.