开发者

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

开发者 https://www.devze.com 2023-01-31 09:22 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: Save Youtube video to iPhone in the app
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

精彩评论

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

关注公众号