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: 
TechTalk01
Binge Watcher

How to launch another channel from our channel.

I want to launch another channel from my channel. For example
In my channel i have a option of Netflix then when i click on that it should open Netflix channel to me.

tried to give like this


        urlString = "http://(IP Address):(port)/launch/12"
        request = CreateObject("roUrlTransfer")
        request.SetUrl(urlString)
        request.AsyncPostFromString(urlString)
but getting the error mentioned below.
BRIGHTSCRIPT: ERROR: roUrlTransfer: creating MAIN|TASK-only component failed on RENDER thread: (path)
It went wrong:  'Dot' Operator attempted with invalid BrightScript Component or interface reference.
 
 
0 Kudos
1 REPLY 1
RokuBen
Community Moderator
Community Moderator

Re: How to launch another channel from our channel.

Roku applications cannot make ECP requests to their own device, it's prohibited.

See https://developer.roku.com/docs/developer-program/certification/certification.md#5-deep-linking, rule 5.3:


5.3 Channels are prohibited from deep linking into other channels or directing users to exit the channel to purchase content, goods or other services.

 

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.