1.0.2 • Published 9 months ago
youtube-lite-iframe v1.0.2
Basic usage Astro
<head>
<script> import { liteYoutubeIframe } from 'youtube-lite-iframe/component';</script>
</head>
Use Id video or Src
---
import { YoutubeEmbed } from "youtube-lite-iframe";
---
<YoutubeEmbed
id="Jvd-d4"
title="Example"
></YoutubeEmbed>
Basic usage typescript
Import component and liteYoutube function
<head>
<script> import { liteYoutubeIframe } from 'youtube-lite-iframe/component';</script>
</head>
import { liteYoutube } from "youtube-lite-iframe";
liteYoutube({
id: "vs-5674"
title: "Example"
})