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

Force smaller size video on mobile devices #9

Open
bennuttall opened this issue Apr 4, 2013 · 2 comments
Open

Force smaller size video on mobile devices #9

bennuttall opened this issue Apr 4, 2013 · 2 comments
Assignees

Comments

@bennuttall
Copy link
Owner

No description provided.

@ghost ghost assigned bennuttall Apr 4, 2013
@bennuttall
Copy link
Owner Author

width: 100%;
height: auto;

This works for images, but not for iframes. Need to find a way of limiting the height of iframes on mobile, ideally maintaining aspect ratio.

@NotBobTheBuilder
Copy link

iframes have a custom width attribute you may need to use as well as the CSS, as noted here

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

2 participants