Was there a recent change to the way Youtube embeds and thumbnails are handled?
It looks like most videos have lost black bars that were incredibly annoying and forced me to write some additional image processing to remove them.
Also has there been a forced rebake in a recent update?
This is a welcome change, but just wanted some clarity on what happened.
April 6, 2023, 12:15pm
Yes, there’s this recent big change replacing
04:58PM - 17 Mar 23 UTC
- Refactors the old plugin to remove jquery usage
- Adds support for Vimeo vide
… os (default on) and Tiktok (experimental and default off)
And this one addressing the annoying black bars:
11:28AM - 31 Mar 23 UTC
`hqdefault` youtube thumbnails usually have extra black bars on top and bottom
<b>Before / After</b>
(maybe not the best example as this video already has black bars)
Not sure about the forced rebake though.
@renato I should have delved into the source.
@jancernik this is a really great improvement, thanks!
April 6, 2023, 12:33pm
I’m glad you liked it! The old plugin that was used to handle lazy loading for YouTube was written in jQuery and had some issues. So, we decided to modernize it. The rebake was needed because we made some slight changes in the way we store attributes for the embed, which now allows us to use this type of lazy loading on other providers like Vimeo.
Feel free to reach out if you have more feedback on it.
May 6, 2023, 12:34pm
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.