1. Docs

Youtube

Use this component to easily to add YouTube videos anywhere in your app.

Behind the hood it’s using lite-youtube-embed to power blazing fast loading.

Example

Svelte in 100 seconds

Usage

<script>
  import Youtube from '$lib/dist/components/Youtube.svelte';
</script>

<Youtube id="rv3Yq-B8qp4" title="Svelte in 100 seconds" />