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

Make sizes strings so caller can can use percentages #609

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pureooze
Copy link

This change lets callers use percentages for height and width so they can dynamically resize for different screen sizes.

Example:

// using percentages
<youtube-video height="100%" width="100%" src="..." controls></youtube-video>

// using exact values
<youtube-video height="800" width="500" src="..." controls></youtube-video>

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

Successfully merging this pull request may close these issues.

None yet

1 participant