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

Unresponsive Youtube Videos #323

Open
MysterieDev opened this issue Mar 15, 2022 · 1 comment
Open

Unresponsive Youtube Videos #323

MysterieDev opened this issue Mar 15, 2022 · 1 comment
Labels

Comments

@MysterieDev
Copy link
Collaborator

MysterieDev commented Mar 15, 2022

Status as of now:
image

you can fix that using css for 16:9 videos

.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
}

.video-container::after{
        padding-top: 56.25%;
        display: block;
        content: '';
    }

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 10%;
    padding-right: 10%;
}
@trendschau
Copy link
Member

Thank you, I will improve it and work on those tickets in the next days

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

No branches or pull requests

2 participants