2016-11-28 75 views
0

我已经能够使用上传到我的个人网站的视频,并且它工作!但是如何在我的roku频道上使用YouTube视频?另外我如何使用现场Youtube视频? 例如,我想使用此视频网址https://www.youtube.com/watch?v=C0DPdy98e4c我怎么能在我的Roku频道中做到这一点?如何将Youtube视频放入我的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

[我如何在我的Roku频道中播放Youtube视频?](http://stackoverflow.com/questions/24296963/how-can-i-stream-youtube-videos-in-my-roku-渠道) –

回答