-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Stupid question #68
Comments
You can use it with ES6 import this way:
At least that's how I use it. |
I mean you don't have to use this needless Javascript infrastructure overcomplexities at all if you use ES6. |
use unpkg if you want to directly import in browser without bundlers inbetween import YTPlayer from 'https://unpkg.com/[email protected]/dist/yt.player.js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As is it known YT Iframe API works on front-end. My question is: How can we use 'require' on front-end part?
After a little search I found that it is suggested on Stack to use tool like Ender or Parcel.
Is it yours implied ways to works with this npm?
Let me know..
The text was updated successfully, but these errors were encountered: