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

Responsive parameter #75

Open
wfabritius opened this issue Jul 3, 2020 · 2 comments
Open

Responsive parameter #75

wfabritius opened this issue Jul 3, 2020 · 2 comments

Comments

@wfabritius
Copy link

Suggestion to provide a "responsive=true" parameter. This option would include a wrapper div with below css styling:

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

CSS Source: https://www.ostraining.com/blog/coding/responsive-videos/

@jervalles
Copy link

usefull functionality

@eabdollahian
Copy link

Perfect. Thanks

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

3 participants