开发者

How to download youtube videos for iphone - using objective-c programmatically [duplicate]

This question already has answers here: Closed 10 years ago.

Possible Duplicate:

Save Youtube video to iPhone in the app

I want to download and save a youtube video from a given yo开发者_JS百科utube video link, programmatically. Can anyone point to some sample app. Help appreciated.


Does the AVAssetWriter class help you at all?

http://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVAssetWriter_Class/Reference/Reference.html


Check out which URL and algorithm I used: https://github.com/H2CO3/PwnTube


Not a problem:

Here is my example:

I used PSYouTubeExtractor.h class by Peter Steinberger It can get youtube mp4 video url and than downloading and viewing is not a problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜