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

Use maxresdefault instead of hqdefault for YouTube embeds #535

Open
benfeather opened this issue Apr 24, 2024 · 2 comments
Open

Use maxresdefault instead of hqdefault for YouTube embeds #535

benfeather opened this issue Apr 24, 2024 · 2 comments

Comments

@benfeather
Copy link

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?

Here is the quality difference between the two:

hqdefault.jpg
hqdefault

maxresdefault.jpg
maxresdefault

@oscarotero
Copy link
Owner

good idea. do you want to work on a pull request?

@benfeather
Copy link
Author

My PHP isn't the best, but I can give it a go.

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