Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Url error in RoVideoScreen.

Their is a requirement in which I have to play mp4 URL in RoVideoScreen.But the problem is that i have to append Username and password to run mp4 url.These kind of URL's works on VLC and Browser but when i try to place these URL on RoVideoScreen is shows invalid url.

Sample URL format that i used:-
http://usernameSmiley Tongueassword@URL/Video.mp4


Can someone help me with this issue.
0 Kudos
1 Reply
belltown
Level 7

Re: Invalid Url error in RoVideoScreen.

Put the username and password in an HTTP Authentication Header specifying "Basic" authentication, using ifHttpHeader.AddHeader().

Make sure usernameSmiley Tongueassword is Base64-encoded.

Look up "Basic access authentication" on Wikipedia.
https://github.com/belltown/
0 Kudos