Android-VimeoPlayer
Android-VimeoPlayer copied to clipboard
Get video dimensions and set aspect ratio based on that
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?
Do you mean "get the video resolution"?
Unfortunately, We can't get the Vimeo video quality.
Yeah video resolution/dimension. Basically width x height in pixels.