sharu725 / youtube-embed

Embeds a clickable youtube thumbnail instead of the iframe. Upon clicking, loads the iframe.
https://embed.sveltethemes.dev
39 stars 8 forks source link

Can I use this in sveltekit-embed? #23

Open spences10 opened 1 year ago

spences10 commented 1 year ago

Hey @sharu725!

This is a great package and must save a load of network strain for content heavy sites

I've made something that packages a load of embeds together in https://github.com/spences10/sveltekit-embed

I don't see a licence on here so thought I better ask 😊

Also love your content on YouTube!

sharu725 commented 1 year ago

Hey @spences10 thank you. I learned a lot from your content as well. I don't see what you're asking for here?

spences10 commented 1 year ago

I'd like to replace the YouTube component in sveltekit-embed to either use this component, or take the parts of this repo that enable the image in place of the iframe is what I'm asking for.

sharu725 commented 1 year ago

Absolutely. Whichever way you'd like to integrate.