Forum Discussion

TechTalk01's avatar
TechTalk01
Binge Watcher
2 years ago

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.