How to get mp4 / mov / m4v video for YouTube video?

Can I get a url file for any video uploaded to youtube? I am not happy with using the YouTube player in my application and would like to launch it using an instance of MPMoviePlayerController.

PS: Will tag it with php as well, as domain developers would also have such a requirement

+6
source share
2 answers

Do you mean something like this?

You can get the URL of the video and implement it in another video controller.

http://www.ngcoders.com/php/php-youtube-video-downloader-script

You can use Curl to pass it to your users.

+3
source

I do this in my iOS application using https://github.com/larcus94/LBYouTubeView

There is an LBYouTubeExtractor class that makes it easy to capture an iOS file for any YouTube link you submit.

LBYouTubeExtractor* extractor = [[LBYouTubeExtractor alloc] initWithURL:URL quality:quality]; extractor.delegate = self; [extractor startExtracting]; 

Works well ... Good luck.

+1
source

Source: https://habr.com/ru/post/888203/


All Articles