TitanFighter
TitanFighter
How to change the styling and toggle classes on the video iframes when user interacts with the video
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 {...
[Duplicate](https://github.com/anteriovieira/vue-youtube/issues/38)
``` ``` 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.
I do not use nuxt :(
[Here](https://github.com/anteriovieira/vue-youtube/issues/33) is shown how to use vue-youtube with nuxt.