wobsoriano/vue-lite-youtube-embed

Videoid is undefined

Closed this issue · 1 comments

Hello! Thanks for building this plugin.
Im struggling to get it to work though...
There is no error in the console, but the youtube url generated has an undefined video ID and thus, renders this view:
Screenshot 2023-07-05 at 11 16 57

Here you can see the undefined ID
Screenshot 2023-07-05 at 11 17 50

My code is:

<template>
  <Lite-you-tube-embed videoid="dQw4w9WgXcQ"/>
</template>


<script setup>
import LiteYouTubeEmbed from 'vue-lite-youtube-embed';
import 'vue-lite-youtube-embed/style.css';

</script>


Any idea what I'm doing wrong?

Ah stupid mistake on my part. I was using videoid prop to match the original lite-youtube-embed.