react-player icon indicating copy to clipboard operation
react-player copied to clipboard

Switching device orientation fails to resize player (landscape to vertical bug)

Open guaiamum opened this issue 2 years ago • 0 comments

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

  1. Open this page on mobile with screen upright (vertical)
  2. Turn phone to landscape mode (player will go fullscreen)
  3. Turn phone vertical once again
  4. 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: IMG_1149

guaiamum avatar Jul 21 '23 08:07 guaiamum