anteriovieira / vue-youtube

A simple component for a powerful API. vue-youtube provides a simple layer for you to use your imagination while over the YouTube IFrame Player API.
MIT License
340 stars 56 forks source link

Doesnt work with Vue 3.0 #83

Open snimavat opened 3 years ago

snimavat commented 3 years ago

Trying to use inside ionic5 Vue3.0

Error

Uncaught (in promise) TypeError: Vue.prototype is undefined
    plugin vue-youtube.js:233
    renderComponentRoot runtime-core.esm-bundler.js:1189
    componentEffect runtime-core.esm-bundler.js:5214
    reactiveEffect reactivity.esm-bundler.js:42
wobsoriano commented 3 years ago

Published a lightweight component that works with both Vue 2/3

https://github.com/wobsoriano/vue-lite-youtube-embed

joshjreed commented 3 years ago

Are there any plans to build a Vue3 compatible version?

wobsoriano commented 3 years ago

Are there any plans to build a Vue3 compatible version?

have you tried https://github.com/wobsoriano/vue-lite-youtube-embed ?

komali2 commented 2 years ago

Are there any plans to build a Vue3 compatible version?

have you tried https://github.com/wobsoriano/vue-lite-youtube-embed ?

i know you really want us all to use your version based on how you're replying multiple times in many issues here, but you're not at feature parity lol so

wobsoriano commented 2 years ago

Are there any plans to build a Vue3 compatible version?

have you tried https://github.com/wobsoriano/vue-lite-youtube-embed ?

i know you really want us all to use your version based on how you're replying multiple times in many issues here, but you're not at feature parity lol so

Just suggesting an alternative. Not even forcing anyone ;)

Also, only replied to 2 issues :)

mirabledictu commented 2 years ago

Are there any plans to build a Vue3 compatible version?

have you tried https://github.com/wobsoriano/vue-lite-youtube-embed ?

actually a good one, thanks!

TitanFighter commented 2 years ago

but you're not at feature parity lol so

This one has the same functions and easy to migrate - https://github.com/NomNes/vue3-youtube

wobsoriano commented 2 years ago

but you're not at feature parity lol so

This one has the same functions and easy to migrate - https://github.com/NomNes/vue3-youtube

that looks good!