Your Digital Media Has Never Looked So Good

 
User avatar
SECHIN SUNNY
Topic Author
Posts: 44
Joined: Mon Sep 19, 2016 12:23 am
Location: NOIDA,UTTARPRADESH,INDIA
Contact:

Youtube api implementation in roku

Thu Mar 16, 2017 11:33 pm

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
 
User avatar
marcelo.cabral
Posts: 377
Joined: Tue Mar 20, 2012 8:53 am

Re: Youtube api implementation in roku

Fri Mar 17, 2017 8:56 am

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.
 
User avatar
SECHIN SUNNY
Topic Author
Posts: 44
Joined: Mon Sep 19, 2016 12:23 am
Location: NOIDA,UTTARPRADESH,INDIA
Contact:

Re: Youtube api implementation in roku

Fri Mar 17, 2017 10:09 am

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
 
Alexanderrk
Posts: 3
Joined: Sat Dec 24, 2016 10:20 pm

Re: Youtube api implementation in roku

Fri Mar 17, 2017 11:00 am

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!

Who is online

Users browsing this forum: No registered users and 7 guests