Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(replay): Mobile replays look off when orientation changes (#83510)
We showed the previous video to fix the video flickering in Safari. However, if the orientation has changed, you can see both replay videos. We can't show the previous replay in this case. This also fixes an issue where video clips other than the one that's seeked to are firing off the `seeking` event, and if that clip has a different orientation, it causes the visible replay clip to have the wrong dimensions. Before: https://github.com/user-attachments/assets/51e434aa-7de2-4eaf-b991-cf5dad144974 After: https://github.com/user-attachments/assets/bf1f41da-21a1-4865-90d2-f67ad0a679e8 Unfortunately on Safari, if the clips have gaps in them and the orientation has changed, these gaps will be visible. There is nothing feasible that we can do on the player side to fix this. After on Safari: https://github.com/user-attachments/assets/8dc124a0-f5cf-444d-b27f-6341ac010196 Fixes #83425 --------- Co-authored-by: Ryan Albrecht <[email protected]> Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
- Loading branch information