MediaPlayer Video Size Codenameone?
问题 I have been working on VideoCapture with Codename one using String file=Capture.captureVideo(); Media video = MediaManager.createMedia(file, true); f.addComponent(BorderLayout.CENTER, video.getVideoComponent()); f.revalidate(); and once we do that the problem when we try to open the Media in a MediaPlayer component , the video appear too small for the screen most of the time , and sometime it get fit to the form , the question is : how can I adjust the media inside the MediaPlayer component