How to play a particular video via Roku Youtube application

Hi Guys ,
I want to launch a particular youtube video from my application.I know how to open the youtube app .But don’t know how to directly launch a youtube video from my application.

My youtube app launch logic
di = CreateObject(“roDeviceInfo”)
ip = di.GetIPAddrs()

if ip <> invalid and ip.eth1 <> invalid then
finalUrl = “http://”+ip.eth1+“:8060/launch/837”
'print “Youtube URL=” finalUrl
request = createObject(“roUrlTransfer”)
request.SetUrl(finalUrl)
request.PostFromString(“”)
end if

Thanks in advance …
SNair.

I would also like to know how to open a specific Youtube Channel in the Youtube app from my own app.

“snair” wrote:
Hi Guys ,
I want to launch a particular youtube video from my application.I know how to open the youtube app .But don’t know how to directly launch a youtube video from my application.

My youtube app launch logic
di = CreateObject(“roDeviceInfo”)
ip = di.GetIPAddrs()

if ip <> invalid and ip.eth1 <> invalid then
finalUrl = “http://”+ip.eth1+“:8060/launch/837”
'print “Youtube URL=” finalUrl
request = createObject(“roUrlTransfer”)
request.SetUrl(finalUrl)
request.PostFromString(“”)
end if

Thanks in advance …
SNair.

Shot-in-the-dark:

finalUrl = “http://”+ip.eth1+“:8060/launch/837?contentID=”

OR

finalUrl = “http://”+ip.eth1+“:8060/launch/837?v=”