From the logs, the video doesn’t seem to have any issues. Sorry, since we can’t see the video content, we can’t determine whether the image has rotated.
I’m not sure what you meant by ‘When I rotate the phone, I will execute render user’, because after rendering the video with a video player, you can treat it as a regular HTML element. When rotating, there’s actually no need to detach/attach it—it will automatically adapt to portrait and landscape modes.
When I rotate the phone from portrait mode to landscape mode, I make the UI responsive according to the mode. Therefore, I detach the user and then reattach them. (According to your suggestion, detaching/attaching is not necessary, but I don’t think that is the issue.)
it will automatically adapt to portrait and landscape modes.
This is my expectation, but I don’t know the cause of the error. (It’s very hard to reproduce.)
Here is an image showing the video before and after the error (already in landscape mode