Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
lilfaf committed Nov 26, 2015
1 parent 8ec2ea2 commit fa3d9bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Use the block based methods and pass it the video url and the desired quality

```objc
[YTVimeoExtractor fetchVideoURLFromURL:@"http://vimeo.com/58600663"
quality:YTVimeoVideoQualityMedium
quality:YTVimeoVideoQualityHD1080
completionHandler:^(NSURL *videoURL, NSError *error, YTVimeoVideoQuality quality) {
if (error) {
// handle error
Expand All @@ -45,7 +45,7 @@ Use the block based methods and pass it the video url and the desired quality
or create an instance of YTVimeoExtractor.
```objc
self.extractor = [[YTVimeoExtractor alloc] initWithURL:@"http://vimeo.com/58600663" quality:YTVimeoVideoQualityMedium];
self.extractor = [[YTVimeoExtractor alloc] initWithURL:@"http://vimeo.com/58600663" quality:YTVimeoVideoQualityHD1080];
self.extractor.delegate = self;
[self.extractor start];
```
Expand All @@ -68,7 +68,7 @@ If the Vimeo videos have domain-level restrictions and can only be played from p

```objc
[YTVimeoExtractor fetchVideoURLFromURL:@"http://vimeo.com/58600663"
quality:YTVimeoVideoQualityMedium
quality:YTVimeoVideoQualityHD1080
referer:@"http://www.mywebsite.com"
completionHandler:^(NSURL *videoURL, NSError *error, YTVimeoVideoQuality quality) {
if (error) {
Expand Down

0 comments on commit fa3d9bc

Please sign in to comment.