Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | 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://username:password@URL/Video.mp4


Can someone help me with this issue.
0 Kudos
1 REPLY 1
belltown
Roku Guru

Re: Invalid Url error in RoVideoScreen.

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

Make sure username:password is Base64-encoded.

Look up "Basic access authentication" on Wikipedia.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.