omo Active Member Licensed User Longtime User Jun 7, 2024 #1 When i record video with different resolution via CamEx2, i get these display at varying preview sizes resolution, but cant still fill the smm panel. i also tried: MediaManager.DefaultResizeMode = "FILL_NO_DISTORTIONS" ; but no effect on video. it works on b4ximageview
When i record video with different resolution via CamEx2, i get these display at varying preview sizes resolution, but cant still fill the smm panel. i also tried: MediaManager.DefaultResizeMode = "FILL_NO_DISTORTIONS" ; but no effect on video. it works on b4ximageview
Erel B4X founder Staff member Licensed User Longtime User Jun 9, 2024 #2 omo said: MediaManager.DefaultResizeMode = "FILL_NO_DISTORTIONS" Click to expand... This option affects images. It goes into B4XImageView scaling mode. 1. Get a reference to ExoPlayer: https://www.b4x.com/android/forum/threads/smm-autoplay.136865/post-866068 2. Now you can change its ResizeMode property. Upvote 0
omo said: MediaManager.DefaultResizeMode = "FILL_NO_DISTORTIONS" Click to expand... This option affects images. It goes into B4XImageView scaling mode. 1. Get a reference to ExoPlayer: https://www.b4x.com/android/forum/threads/smm-autoplay.136865/post-866068 2. Now you can change its ResizeMode property.
omo Active Member Licensed User Longtime User Jun 10, 2024 #3 Erel said: This option affects images. It goes into B4XImageView scaling mode. 1. Get a reference to ExoPlayer: https://www.b4x.com/android/forum/threads/smm-autoplay.136865/post-866068 2. Now you can change its ResizeMode property. Click to expand... Once i get the turning off video controller question right, i believe i should get this right too as your ealier pointed out Dim playerview As SimpleExoPlayerView = pnl.GetView(0).GetView(0) playerview.ResizeMode = "FIT" Upvote 0
Erel said: This option affects images. It goes into B4XImageView scaling mode. 1. Get a reference to ExoPlayer: https://www.b4x.com/android/forum/threads/smm-autoplay.136865/post-866068 2. Now you can change its ResizeMode property. Click to expand... Once i get the turning off video controller question right, i believe i should get this right too as your ealier pointed out Dim playerview As SimpleExoPlayerView = pnl.GetView(0).GetView(0) playerview.ResizeMode = "FIT"