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

Get video dimensions and set aspect ratio based on that #11

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

Get video dimensions and set aspect ratio based on that #11

crearo opened this issue May 10, 2019 · 2 comments

Comments

@crearo
Copy link

crearo commented May 10, 2019

First of all, thanks for your great work! I was going through the Youtube version of this, and was bummed that I might have to write the Vimeo one. But saw you've already done it, and done it well! Thanks!

I have 2 types of videos; landscape and portrait. I am placing the player views in a recyclerview and want to dynamically resize the element based on the video width and height. Do you know if I can get the video dimensions?

@ct7ct7ct7
Copy link
Owner

Do you mean "get the video resolution"?

Unfortunately, We can't get the Vimeo video quality.

@crearo
Copy link
Author

crearo commented May 23, 2019

Yeah video resolution/dimension. Basically width x height in pixels.

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