Skip to content

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

@rogierhofboer

Description

@rogierhofboer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions