Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
SECHIN_SUNNY
Level 7

Youtube api implementation in roku

I have a  roku project coming up from a client , who wish to have youtube video's playing on his channel . Can any one help me out on how to attach the url over roku brightscript and view in roku videoplayer .

Can anyone please help me out in solving this requirement .
Thanks
Regards
Sechin Sunny
0 Kudos
3 Replies

Re: Youtube api implementation in roku

"SECHIN SUNNY" wrote:
I have a  roku project coming up from a client , who wish to have youtube video's playing on his channel . Can any one help me out on how to attach the url over roku brightscript and view in roku videoplayer .

Can anyone please help me out in solving this requirement .

As far as I know Google does not allow on YouTube License Agreement anyone to play videos in 3rd party players, you can use their API to browse the content, but you will need to call YouTube channel using deep link feature.
0 Kudos
SECHIN_SUNNY
Level 7

Re: Youtube api implementation in roku

Thank you so much .
Sir please can you tell me how to call the api of you tube in my clients channel and use it to call the you tube channel using deep linking , is there any sample.
Thanks
Regards
Sechin Sunny
0 Kudos
Alexanderrk
Level 7

Re: Youtube api implementation in roku

You could use the External control guide

https://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide


You can launch videos by sending a POST command to the Roku, eg. 

    conn = CreateObject("roUrlTransfer")
    url = "http://localhost:8060/launch/837?contentID=VIDEOID"
    conn.SetUrl(url)
    conn.SetRequest("POST")
    data = conn.GetToString()



Good luck!
0 Kudos