Youtube data API : Get access to media stream and play (JAVA)

后端 未结 3 852
耶瑟儿~
耶瑟儿~ 2020-12-31 06:16

I want to access a youtube video and play using my own media player. I am able to get the video properties (title, url etc..) using the youtube data API. Can I get access to

3条回答
  •  忘掉有多难
    2020-12-31 06:29

    You can't. Look here for further reading on what the API could handle: YoutubeAPI
    If you could get an InputStream on that, Google won't get any money for advertisement at all.

    But you could parse the page of the video-url you got from the API and look for the real video-link inside the flash tags.

提交回复
热议问题