diff --git a/Sample/MacSample/MainWindow.xib b/Sample/MacSample/MainWindow.xib index 9720b0e..fe55b5f 100644 --- a/Sample/MacSample/MainWindow.xib +++ b/Sample/MacSample/MainWindow.xib @@ -1,9 +1,9 @@ - + - - + + @@ -20,13 +20,14 @@ - + - + + @@ -45,15 +47,19 @@ + - + + - - - + + + + + @@ -61,6 +67,7 @@ + diff --git a/Sample/MacSample/MainWindowController.m b/Sample/MacSample/MainWindowController.m index 84b52d3..4738b90 100644 --- a/Sample/MacSample/MainWindowController.m +++ b/Sample/MacSample/MainWindowController.m @@ -24,7 +24,7 @@ @implementation MainWindowController - (void)windowDidLoad { [super windowDidLoad]; - self.quality = YTVimeoVideoQualityMedium; + self.quality = YTVimeoVideoQualityBestAvailable; } - (void)windowWillClose:(NSNotification *)notification { @@ -51,16 +51,21 @@ - (IBAction)playVideo:(id)sender { - (IBAction)changeQuality:(id)sender { switch (self.qualitySeg.selectedSegment) { case 0: - self.quality = YTVimeoVideoQualityLow; + self.quality = YTVimeoVideoQualityLow270; break; case 1: - self.quality = YTVimeoVideoQualityMedium; + self.quality = YTVimeoVideoQualityMedium360; break; case 2: - self.quality = YTVimeoVideoQualityHigh; - + self.quality = YTVimeoVideoQualityHD720; + break; + case 3: + self.quality = YTVimeoVideoQualityHD1080; + break; default: + self.quality = YTVimeoVideoQualityBestAvailable; break; + } } @end diff --git a/YTVimeoExtractor.podspec b/YTVimeoExtractor.podspec index 851f537..53eb754 100644 --- a/YTVimeoExtractor.podspec +++ b/YTVimeoExtractor.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "YTVimeoExtractor" - s.version = "0.3.0" + s.version = "0.3.1" s.summary = "Fetches Vimeo's mp4 URLs for iOS." s.description = <<-DESC YTVimeoExtractor is a class which lets you get the iOS @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/lilfaf/YTVimeoExtractor" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "Louis Larpin" => "louis.larpin@gmail.com" } - s.source = { :git => "https://github.com/lilfaf/YTVimeoExtractor.git", :tag => "0.3.0" } + s.source = { :git => "https://github.com/lilfaf/YTVimeoExtractor.git", :tag => "0.3.1" } s.ios.deployment_target = '7.0' s.osx.deployment_target = '10.9'