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

Youtube video in VideoPlayer APP

Hey guys,

I been playing around with the Video Player from roku sdk, I'm doing it for a client. Client has a studio, so he live streams some of the events they cover. I figured out the live streaming part (wowza).

But now client want's to index few of his youtube videos in the app i created.

Right now all the links are pulling from XML files hosted in clients server.

Example :

<item sdImg="http://rokudev.roku.com/rokudev/examples/videoplayer/images/CameronCarpenter.jpg" hdImg="http://rokudev.roku.com/rokudev/examples/videoplayer/images/CameronCarpenter.jpg">
<title>Cameron Carpenter's dizzying improv on the organ</title>
<contentId>10031</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://video.ted.com/talks/podcast/CameronCarpenter_2008P_480.mp4</streamUrl>
</media>
<synopsis>At the 2008 EG conference,.</synopsis>
<genres>Music</genres>
<runtime>1790</runtime>
</item>


My question is how can i link a Youtube Video into this XML? I tried putting the link in streamurl and few different ways, it doesnt work :(.

Cheers!
0 Kudos
3 REPLIES 3
RobSMS
Visitor

Re: Youtube video in VideoPlayer APP

I believe that is against YouTube's terms of service. We just replicate our videos on Vimeo and use their mp4 file links. You could theoretically get the link to the video files by digging around, but YouTube likes to change things up all the time.
Need Apps Templates? Content Management for OTT/IPTV? Check me out @ http://rovidx.com
0 Kudos
learnerDev
Visitor

Re: Youtube video in VideoPlayer APP

All the video's the client has is his own property, Its fully owned by him. He wants to use YT as a hosting provider basically.
0 Kudos
gonzotek
Visitor

Re: Youtube video in VideoPlayer APP

"learnerDev" wrote:
All the video's the client has is his own property, Its fully owned by him. He wants to use YT as a hosting provider basically.
YouTube's TOS, which he agreed to when signing up for the service, forbids this. They only allow YouTube videos to be played via authorized YouTube player apps. Your client will need to find an alternative host for this application. Refer them to Sections 4a and 4c of the YouTube TOS.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
0 Kudos