TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by konomae.
DWGNicoVideoExtractor is a Nico Nico Douga (nicovideo.jp) video URL extractor for iOS.
To run the example project, clone the repo, and run pod install
from the Example directory first.
NSString *videoID = @"sm23538930";
[DWGNicoVideoExtractor fetchVideoURLFromID:videoID completion:^(NSURL *videoURL, NSError *error) {
if (error) {
NSLog(@"%@", error);
return;
}
MPMoviePlayerViewController *vc = [[MPMoviePlayerViewController alloc] initWithContentURL:videoURL];
[vc.moviePlayer prepareToPlay];
[vc.moviePlayer play];
[self presentMoviePlayerViewControllerAnimated:vc];
}];
DWGNicoVideoExtractor is available under the MIT license. See the LICENSE file for more info.