MMYoutubeMP4Extractor 0.1.5

MMYoutubeMP4Extractor 0.1.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Feb 2020

Maintained by Michel.



  • By
  • Juan Miguel Marques Morilla

MMYoutubeMP4Extractor

MMYoutubeMP4Extractor provides an easy way to obtain MP4 URL for your iOS apps by providing a YouTube URL.

This library uses library from RMYouTubeExtractor by Rune Madsen - allowing you to just extract the metadata by providing a Youtube ID.

[![CI Status](http://img.shields.io/travis/Juan Miguel Marques Morilla/MMYoutubeMP4Extractor.svg?style=flat)](https://travis-ci.org/Juan Miguel Marques Morilla/MMYoutubeMP4Extractor) Version License Platform

Requirements

  • iOS 7
  • ARC

Installation

MMYoutubeMP4Extractor is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MMYoutubeMP4Extractor'

and Then add this line to obtain the MP4 url:

[[MMYoutubeMP4Extractor sharedInstance] mp4FromYoutubeURL:url_youtube_video completionBlock:^(NSURL *mp4Url, NSError *error) {

}];

The instance returns a NSURL with MP4 URL

Don’t forget to check for empty url / errors.

Matches:

Demo project

See demo project for an example of how to use the extractor.

To run the example project, clone the repo, and run pod install from the Example directory first.

Author

Juan Miguel Marques Morilla, [email protected]

License

MMYoutubeMP4Extractor is available under the MIT license. See the LICENSE file for more info.