I use ExoPlayer library for loading videos from my server and I want to scale and crop the videos to keep their aspect ratio. The videos playing fine and everything are fine even when I change the volume of the video. I tried to use the setVideoScalingMode function on the SimpleExoPlayer and passed:
C.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
Nothing happens and I also tried to change the resize attribute to fill/fit. Still no scaling and cropping.