When I do it in a vertical video (like when the width is less than height), the height was not right. After that, I find out when I give the video player, for example, 352x640 video, the metadata shows that the width is 640 and height is 352. That’s the opposite of what I want.
But it worked perfectly when the width is greater than the height.
There is a limit width to the the screen, that’s why I try to multiply by the video’s height.
Like my screen width is 411, if the video width is 1080, the video player will be stretch again