top | item 44709265

(no title)

corentin88 | 7 months 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

discuss

order

Raicuparta|7 months ago

Doesn'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.