我需要从Youtube播放视频作为MP4。
I need to play videos from Youtube as MP4.
我的系统(在Android手机)不支持Flash。
My system (an Android Phone) does not support Flash.
它可以播放MP4视频。
It can play MP4 videos.
所以我想创建一个网页,从Youtube播放视频的。
So I'm thinking of creating a web page that plays videos from Youtube.
我需要让MP4的视频在我的网页游戏。
I need to get MP4 videos to play in my page.
方法是什么呢?
看看此相关的问题,其中OP想出了一个哈克的方式来获得的get_videoAPI必要的ID和校验和参数。流媒体的Youtube视频
Take a look at this related question, where the OP has figured out a hacky way to get the necessary ID and checksum parameters for the get_video "API". Streaming Youtube Videos
他成功地在VideoView部件回放的流。您可以使用格式化参数选择你想要的格式,请参见维基百科的列表: http://en.wikipedia.org/wiki/YouTube#Quality_and_$c$ccs
He successfully played back the stream in the VideoView component. You can use the fmt parameter for choosing which format you want, see wikipedia for a list: http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs
祝你好运。
下一篇:网络驱动器不提供启动驱动器、网络