我已经能够使用上传到我个人网站的视频而且工作正常!但我如何在我的roku channnel上使用YouTube视频?另外我如何使用实时Youtube视频? 例如,我想使用此视频网址https://www.youtube.com/watch?v=C0DPdy98e4c如何在我的Roku频道中执行此操作?
以下是我上传到我个人网站的mp4视频的一些代码。
<item sdImg="I put my image sd url here -- no problem" hdImg="I put my hd mage url here -- no problem">
<title>My Title </title>
<contentId>10001</contentId>
<contentType>Talk</contentType>
<contentQuality>HD</contentQuality>
<streamFormat> have tried "mp4" "hls" "mkv" "ism" etc...</streamFormat>
<media>
<streamQuality>HD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl> tried to use a youtube url here and video doesnt play once app is developed</streamUrl>
</media>
<synopsis>Some random synopsis to put here</synopsis>
<genres>Technology</genres>
<runtime>10</runtime>
</item>
答案 0 :(得分:0)
YouTube T.O.S.说你不能。