Not sure if it's the best way possible, but it works. Add the following line before the return of VideoPlayer#relayout (file VideoPlayer.vala, line 447):
controls.slider.preview.width = (float)video_width / video_height * controls.slider.preview.height;
Not sure if it's the best way possible, but it works. Add the following line before the return of VideoPlayer# relayout (file VideoPlayer.vala, line 447): slider. preview. width = (float)video_width / video_height * controls. slider. preview. height;
controls.