react-player
                                
                                 react-player copied to clipboard
                                
                                    react-player copied to clipboard
                            
                            
                            
                        Switching device orientation fails to resize player (landscape to vertical bug)
Be sure to search for your issue before opening a new one. ✅
Current Behavior
Turning phone from landscape to vertical makes video overflow screen
Expected Behavior
It should assign current screen width to player after orientation change
Steps to Reproduce
Tested on iOS Chrome browser latest version
- Open this page on mobile with screen upright (vertical)
- Turn phone to landscape mode (player will go fullscreen)
- Turn phone vertical once again
- Check current behaviour
Environment
- URL attempting to play: https://air-72.wistia.com/medias/fryhqg64h7
- Browser: Chrome
- Operating system: iOS
- example: https://air.inc/out-to-lunch
Other Information
screenshot: