I am working on the video player app and I am using Video Player Component and I want to keep the app be friendly user so that my end-user can have the option to play a video in portrait or landscape, but I wonder why when playing the video in portrait and want to change it in the landscape the video stops and the play buttons disappear. This makes the app to be unprofessional kindly I need your help.
Note: I have tried to search before asking but I found irrelevant help to the previous threads. This is what I found Problem in video player extension but it is not helpful to me.
Screen.Orientation.Changed is a Method that is triggered when there is a change in the orientation of the screen.
Then, when the screen orientation changes, you compare whether the width is greater than the height
I don’t know how to put this in good English.
Note: I saying that when you turn the video to landscape the video stops and this mean maybe there is a way to change the Height to full-screen and the height to portrait.