Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On a small width screen, the first video stretched instead of cropped when playing it for the first time #124

Open
rogierhofboer opened this issue Oct 3, 2024 · 0 comments

Comments

@rogierhofboer
Copy link

Describe the bug
On a small width screen, the first video stretched instead of cropped when playing it for the first time

To Reproduce
Steps to reproduce the behaviour:

  1. https://codepen.io/rogierhofboer/pen/NWQNNvb
  2. Make your browser screen width as small as possible.
  3. Refresh the browser (CTRL-R)
  4. The video is stretched
  5. Refresh the browser again (CTLR-R)
  6. Press next button
  7. Press prev button
  8. The video is cropped.

Expected behaviour
The video is cropped, like the next one, and when playing the first one for the second time.

Screenshots
First time (stretched):
image

Second time (cropped):
image

OS / Browser
Happens in Chrome on Windows and in the Android Chrome Webview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant