Skip to content

How do I stretch a video to fit its containing div? #660

@CyberiaResurrection

Description

@CyberiaResurrection

Be sure to search for your issue before opening a new one.

Current Behavior

When I add a video into a container of different aspect ratio, I get grey padding blocks to the sides or above/below (depending on container's aspect ratio relative to video's aspect ratio).

Expected Behavior

The video stretched to fill the containing div, with the video's aspect ratio changed to match the containing div's.

Steps to Reproduce

The same as #145 - but I'm wanting the inverse result - video aspect ratio to match containing div's aspect ratio.

Environment

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