Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vimeo Lowest Quality video 240 option not available, receiving nil from highest and lowest streams. #55

Open
irfangul10pearls opened this issue May 10, 2019 · 2 comments

Comments

@irfangul10pearls
Copy link

No description provided.

@irfangul10pearls
Copy link
Author

irfangul10pearls commented May 10, 2019

Fix given below

-(NSURL *)highestAvailableQualityStreamURL {
    NSURL *url = self.streamURLs[@(YTVimeoVideoQualityHD1080)] ?: self.streamURLs[@(YTVimeoVideoQualityHD720)]?: self.streamURLs[@(YTVimeoVideoQualityMedium540)]?: self.streamURLs [@(YTVimeoVideoQualityMedium480)]?: self.streamURLs[@(YTVimeoVideoQualityMedium360)]?: self.streamURLs[@(YTVimeoVideoQualityLow270)]?: self.streamURLs[@(240)];
    
    return url;
}

@SoneeJohn
Copy link
Collaborator

Thanks! This project is due for a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants