I am trying to apply the function of changing the orientation of the video when the display is changed, but when calling the function this is giving an error, do you have any documentation on how I call this function?
she is in the video documentation (docs.expo.io/versions/latest/sdk/video/)
A function to be called when the video is ready for display. Note that this function gets called whenever the video’s natural size changes.
The function is passed a dictionary with the following key-value pairs:
naturalSize: a dictionary with the following key-value pairs:
width: a number describing the width in pixels of the video data
height: a number describing the height in pixels of the video data
orientation: a string describing the natural orientation of the video data, either