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!

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.

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.

“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.