vue-youtube
vue-youtube copied to clipboard
Use on CodePen?
I'm 90% sure this is my fault and not yours. ;) I'm trying to use this in a CodePen demo. In my settings I've added https://raw.githubusercontent.com/anteriovieira/vue-youtube/master/dist/vue-youtube.js as a dependency. But any use of VueYoutube returns an error because it isn't defined. According to CodePen, any external JS libraries are loaded before your code is executed so I'm not quite sure what's wrong. Any ideas?
How about codesandbox? Here you can install npm packages directly.
Demo.
I knew it worked there as the demo was there. :) At the end of the day I don't expect you to support CodePen, I just thought maybe I was making a dumb/easy mistake somewhere. ;)