-
Notifications
You must be signed in to change notification settings - Fork 148
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
bug: youtube-video
directive won't compile
#100
Comments
try something like import youtubeEmbed from 'angular-youtube-embed'
angular.module('myApp', [
'ionic',
youtubeEmbed
]) basically, imports are aware of let me know if you get this working! |
still didn't work, no errors either. Both ways I can see the file is being included on the page so it really shouldn't matter how it's getting in there no? I mean, angular isn't even throwing errors. It sees your module is attached. Let me know if you're interested in a screenshare. |
didn't notice your note about bower. it's published there too. (make sure you get that name right 😄) |
I did, haha I saw it was a bit different cause of another library. Any more ideas why this wouldn't work? |
it's hard to say. there haven't been any new releases with this project, and i've seen this code installed with otherwise, it's hard to diagnose. with the number of JS tools out there, it's hard to determine who's at fault here. could you |
This is a private app that we're working on and I'd prefer to show you the code privately. Could you do a screenshare? |
hey Iam also facing same error plz help me Asap |
@ashish367 any details on what's happening? is the code for the directive not getting included in your bundle? is it included by not initializing properly? @dwilt did you get this working? |
I can't remember now as I'm on a different project but if I remember correctly we were unable to get this to work |
@dwilt sorry to hear that!! @ashish367 are you including the YouTube iframe API as shown here? as of |
Hi, Regards, On Sun, Jul 31, 2016 at 9:51 PM, Matthew Brandly notifications@github.com
|
forgot to mention Thanks and please have any suggestion how to embed Regards, On Mon, Aug 1, 2016 at 12:23 PM, Ashish Yadav ashish.yadav@cmss.in wrote:
|
I've installed via
npm install
(and I triedbower
first even though I saw your last commit was to try and discourage people from using bower) and I can't get the directive to compile. I can see your script on my page and it's included as a dependency in my app. The<youtube-video video-id="videoId" id="unique-youtube-embed-id-1"></youtube-video>
is just sitting in the DOM uncompiled.No errors are being thrown in the console.
Here's how I'm including it in my project:
I'd prefer to bower install it and include it as a external script on my page as the I've done with the rest of my front end packages but I'm fine as long as it works.
Thanks for any help!
The text was updated successfully, but these errors were encountered: