Skip to content

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.

1 participant