Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nightowl69
Level 8

Not able to stream url with special characters

I have stream URL with ? and & characters
This is my stream url

https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/720/Big Buck Bunny 720_10s_1MB.mp4?md5=_GImXTXZxZwCQ6fLHLDl_A&expires=1644992993


This is what I have on my source code

content.url=jsonData.data.stream_url.EncodeUri()

Th

0 Kudos
3 REPLIES 3
renojim
Community Streaming Expert

Re: Not able to stream url with special characters

print content.url and see what it's getting encoded to.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
nightowl69
Level 8

Re: Not able to stream url with special characters

It is printing the same URL:

https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/720/Big Buck Bunny 720_10s_1MB.mp4?md5=_GImXTXZxZwCQ6fLHLDl_A&expires=1644992993
0 Kudos
renojim
Community Streaming Expert

Re: Not able to stream url with special characters

I don't think that URL exists.  It should be Big_Buck_Bunny_720.  It looks like you replaced the underscores with spaces.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos