Videoid is undefined
Closed this issue · 1 comments
toddpadwick commented
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:
Here you can see the undefined ID
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?
toddpadwick commented
Ah stupid mistake on my part. I was using videoid prop to match the original lite-youtube-embed.