TitanFighter

Results 83 comments of TitanFighter

Probably something like [this](https://stackoverflow.com/questions/22680761/how-to-add-class-in-parent-div-of-iframe-when-you-clicked-inside-that-iframe/22680794)

You can try to use the code below: ``` computed: { .... player () { return this.$refs.youtube.player }, .... }, methods: { ... youtubeSeekTo () { this.player.seekTo(10) }, ... }...

How about `codesandbox`? Here you can install npm packages directly. [Demo](https://codesandbox.io/s/p55kx63zxq).

I do not know why in your case the `myFuntion` should live on the global window. Here is the example how it works in my project: ``` export default {...

``` ``` https://github.com/anteriovieira/vue-youtube#props

> 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

There are no any problems - https://codesandbox.io/s/vue-template-474dz Show your code, for example using codesandbox.

[Here](https://github.com/anteriovieira/vue-youtube/issues/33) is shown how to use vue-youtube with nuxt.