Closed AndroidDeveloperLB closed 4 years ago
You need to edit the OpenGL code to set different crop mode for video, but I personally not interested in other mode, center crop is the best way for background, which does not change the video ratio or add black bars. If you have an video that main part is not in center, I suggest you to crop it on computer first, because it will make the app more complex to support custom cropping.
Can you please tell in which part of the code to change it?
Can you please tell in which part of the code to change it?
Just use different matrix here.
I see. I hope I can get it right.
Currently, what is the behavior? It seems to fit to width or to height based on whether the video aspect ratio is larger than of the video?
Like what we have for ImageView, of scale-crop, and to fit in the center?
Currently it seems zoomed if I choose a wide video (which is most videos)...