You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use maxresdefault instead of hqdefault for YouTube embeds #535
When requesting the OEmbed data for a YouTube video, this package uses the "hqdefault.jpg" image, which is small and has fixed black bars at the top and bottom.
Would you be able to use the maxresdefault.jpg instead?
This is addressed in PR #593: for YouTube, Embed now uses the maxresdefault thumbnail from og:image when that image belongs to the same video. It is planned for 4.7.0. If you want to try it before the release:
Activity
oscarotero commentedon Apr 24, 2024
good idea. do you want to work on a pull request?
benfeather commentedon Apr 28, 2024
My PHP isn't the best, but I can give it a go.
Vitorinox commentedon Nov 21, 2026
This is addressed in PR #593: for YouTube, Embed now uses the maxresdefault thumbnail from
og:imagewhen that image belongs to the same video. It is planned for 4.7.0. If you want to try it before the release:Feedback is very welcome.