We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please remove the explicit width and height attributes. Let CSS handle this.
The text was updated successfully, but these errors were encountered:
I believe the width and height attributes are explicit due to them being required by the YouTube API: https://developers.google.com/youtube/iframe_api_reference
I see fundipper went for passing the attribute values via parameters to a NewExtender constructor:/~https://github.com/fundipper/goldmark-videos
NewExtender
Some other interesting discussions around more responsive youtube embeds include this one: https://stackoverflow.com/questions/35814653/automatic-height-when-embedding-a-youtube-video These examples still contain the hard-coded width and height iframe attributes, but use CSS on an encapsulating div to get better behaviour.
Sorry, something went wrong.
No branches or pull requests
Please remove the explicit width and height attributes. Let CSS handle this.
The text was updated successfully, but these errors were encountered: