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: 
SECHIN_SUNNY
Visitor

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 3
marcelo_cabral
Roku Guru

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
Visitor

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
Reel Rookie

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