Skip to content

ssimonov/ExtractVideoURLManager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ExtractVideoURLManager

Extract Video URL of Youtube, Dailymotion

iOS7 ~ Objective-C

How to

ExtractVideoURLManager *extracter = [ExtractVideoURLManager new];
    
//////////////////////////////////////
// Example
//////////////////////////////////////

//Youtube
NSString *vid = @"dFf4AgBNR1E";
[extracter youtube:vid handler:^(NSDictionary *urls, NSError *error){
    if (error) {
        NSLog(@"Youtube Error...");
        return;
    }
    
    NSLog(@"Youtube URLs = %@", urls);
}];


//Dailymotion
NSString *vid2 = @"x2mgxvh";
[extracter dailymotion:vid2 handler:^(NSDictionary *urls, NSError *error){
    if (error) {
        NSLog(@"Dailymotion Error...");
        return;
    }
    
    NSLog(@"Dailymotion URLs = %@", urls);
}];

About

Extract Video URL of Youtube, Dailymotion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%