# How to play a particular video via Roku Youtube application

**URL:** <https://forum.developer.roku.com/t/how-to-play-a-particular-video-via-roku-youtube-application/3195>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [July 17, 2014, 10:38pm UTC](https://forum.developer.roku.com/t/how-to-play-a-particular-video-via-roku-youtube-application/3195 "2014-07-17T22:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snair](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@snair](https://forum.developer.roku.com/u/snair)\
**Post date:** [July 17, 2014, 10:38pm UTC](https://forum.developer.roku.com/t/how-to-play-a-particular-video-via-roku-youtube-application/3195/1 "2014-07-17T22:38:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kevev](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kevev](https://forum.developer.roku.com/u/kevev)\
**Post date:** [November 4, 2014, 3:33pm UTC](https://forum.developer.roku.com/t/how-to-play-a-particular-video-via-roku-youtube-application/3195/2 "2014-11-04T15:33:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dcrandall](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@dcrandall](https://forum.developer.roku.com/u/dcrandall)\
**Post date:** [November 5, 2014, 5:14pm UTC](https://forum.developer.roku.com/t/how-to-play-a-particular-video-via-roku-youtube-application/3195/3 "2014-11-05T17:14:22Z")

</div>

> “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=”
