vue-youtube-embed-lite

Embed YouTube player without iframe for better performance.

Here is the Demo.

Step 1: Install

npm i @miyaoka/vue-youtube-embed-lite

Step 2: Usage

<template>
  <YoutubeEmbedLite
    vid="M7lc1UVf-VE"
    thumb-quality="hq"
    :params="{start: 100}"
  />
</template>

<script>
import YoutubeEmbedLite from '@miyaoka/vue-youtube-embed-lite'

export default {
  components: {
    YoutubeEmbedLite
  }
}
</script>

Reference

Below are the reference links:

No. Link
1. Read more here.
2. Follow code author here.