Embed icon indicating copy to clipboard operation
Embed copied to clipboard

Use maxresdefault instead of hqdefault for YouTube embeds

Open benfeather opened this issue 1 year ago • 2 comments

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

benfeather avatar Apr 24 '24 02:04 benfeather

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

oscarotero avatar Apr 24 '24 08:04 oscarotero

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

benfeather avatar Apr 28 '24 22:04 benfeather