Youtube Video Embed

This provides a fast way to embed youtube videos since it loads the youtube thumbnail istead of the iframe. It loads the iframe and starts playing upong clicking the play button.


<Youtube id="q2Y3f0lHnMs" />

With custom play button

<Youtube id="q2Y3f0lHnMs">

Using custom overlay

--overlay-transition="all {overlayTransitionDuration}ms linear"

Using custom title colors


Alternative thumbnail

Some videos don't have custom thumbnail, so you can use this option to set the thumbnail to the default one.

<Youtube id="g50dm1OCV3w" altThumb={true} />