Skip to content

Plyr changes size for portrait videos #2874

@smukee

Description

@smukee

The problem is at first load everything is alright the Plyr container is wide as usual and the portrait poster is in the middle of the container with its original size(tall) but shortly after when the metadata is loaded the player changes size and video fits itself to a big ugly tall player.
How can I make portrait videos play as is?
Demo: https://codepen.io/BigBuckBunny/pen/gbroXmQ
Video dimensions of the demo: 464 × 688

The expected behavior: https://vimeo.com/613729649

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