4 ms·
On the YouTube embed aspect, using a component can take lots of time and efforts. Just sharing another approach where you keep the YouTube embed iframe, but re
by corentin88 1y ago
On the YouTube embed aspect, using a component can take lots of time and efforts.
Just sharing another approach where you keep the YouTube embed iframe, but replace the domain "youtube.com" by this specific domain "embedlite.com". It loads only the thumbnail of the video and when someone clicks on it, it loads the full YouTube player.
More info: https://www.embedlite.com https://www.embedlite.com
- Raicuparta 1y agoDoesn't sound very smart to iframe to some unknown third party that could be compromised. But their implementation is pretty simple, can easily be copied and implemented on your own domain. Their example doesn't even seem to work on mobile at least (just iframes the homepage itself), which doesn't really inspire confidence.