【发布时间】:2016-12-04 06:23:45
【问题描述】:
我已经能够使用上传到我的个人网站的视频,并且成功了!但是如何在我的 roku 频道上使用 YouTube 视频?另外,我还如何使用实时 Youtube 视频? 例如,我想在我的 Roku 频道中使用此视频 URL https://www.youtube.com/watch?v=C0DPdy98e4c 怎么做?
这是我的一些代码,适用于上传到我个人网站的 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>
【问题讨论】: