-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using vue-youtube-embed in Nuxt.js #44
Comments
I solve the problem using nuxt's plugins
this is my Solution |
I've had to import the plugin this way to work properly in nuxt instead.
Also, i didn't need the |
another thing I had to change from the provided example code to make this work, was to turn
into:
|
Anyone knows how to get access to these methods in nuxt.js?
|
You may want to add the plugin to the transpile build option as such:
That should do it. |
@lystun That was the missing piece of the puzzle for me. Thanks! |
|
Hey... for anyone still stuck here... I got it working this way: First create a
As far as I understand why, it's because Add this file to
Then in the component or page you want to use the player:
Hope this helps :) |
how do i hide the logo and reference video in nuxt.js? |
I followed the steps but I'm getting this error!
Please help! |
you are trying to bind video-id so it gives error because there is no value for that.
I hope this helps if I am right to understand your problem.
|
I have got problem with vue-youtube-embed. I don't know to implement in Nuxt.js project. I had install vue-youtube-embed across npm. Do anybody can to write the implementation process? PLS
The text was updated successfully, but these errors were encountered: