After reading another topic, I had a quick idea of making a simple tool to embed youtube videos to Ghost posts with a more customized, performant and privacy friendly way. And here it is:
And here is the tool url: Better YouTube Embed - Privacy-First YouTube Embed Generator
The differences comparing to built-in Youtube embedder of Ghost Editor:
- It uses www.youtube-nocookie.com which is a domain provided by Youtube for a better privacy. As its name suggests, it doesn’t have user tracking cookies.
- It doesn’t directly load iframe, instead just shows cover image with a play button on it. So your page loads much faster.
- You can also use a custom cover image instead of video’s default one. This allows you to take control of how you present your page.
- You need to add with HTML card, instead of direct link.
As far as I see, it works quite good on email and ActivityPub content, since main HTML code just shows the cover image with an SVG icon on top of it. On those platforms that doesn’t run JS code, clicking cover image just routes reader to the actual Youtube video link.
I find it quite useful for myself. I hope it helps others as well ![]()