mare1980k1 Member Licensed User Longtime User Jan 6, 2020 #1 I am using Exoplayer library for videos, but it only has default "contain", which keeps the aspect ratio. Is it possible to change this to Fill - thus to distort the video a little? Thank you so much, Kind regards
I am using Exoplayer library for videos, but it only has default "contain", which keeps the aspect ratio. Is it possible to change this to Fill - thus to distort the video a little? Thank you so much, Kind regards
Erel B4X founder Staff member Licensed User Longtime User Jan 6, 2020 #2 B4X: Dim jo As JavaObject = SimpleExoPlayerView1 jo.RunMethod("setResizeMode", Array(3)) 'RESIZE_MODE_FILL = 3 Upvote 0
B4X: Dim jo As JavaObject = SimpleExoPlayerView1 jo.RunMethod("setResizeMode", Array(3)) 'RESIZE_MODE_FILL = 3
mare1980k1 Member Licensed User Longtime User Jan 6, 2020 #3 Thank you Erel so much, It works, All the best Upvote 0