angular-youtube-embed icon indicating copy to clipboard operation
angular-youtube-embed copied to clipboard

Feature request: Angular 2 support

Open deepakgd opened this issue 9 years ago • 17 comments

Implement this for angular2 application

deepakgd avatar Mar 29 '16 04:03 deepakgd

i figured someone would ask sooner or later. i haven't touched angular 2 at all yet. really, i haven't touched angular in general for quite a while.

i'll get around to this eventually tho

pull requests are welcomed :four_leaf_clover: :laughing:

brandly avatar Mar 29 '16 16:03 brandly

Sure I will try to do On Mar 29, 2016 9:59 PM, "Matthew Brandly" [email protected] wrote:

i figured someone would ask sooner or later. i haven't touched angular 2 at all yet. really, i haven't touched angular in general for quite a while.

i'll get around to this eventually tho

pull requests are welcomed [image: :four_leaf_clover:] [image: :laughing:]

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/brandly/angular-youtube-embed/issues/112#issuecomment-202985848

deepakgd avatar Mar 30 '16 03:03 deepakgd

reading thru this migration guide, there are probably a few hurdles here to get over:

if anyone sees this and would like to help, let me know! i could make a branch, with the goal of Angular 2 support, and then others could open pull requests towards that new branch :star2:

brandly avatar Apr 02 '16 17:04 brandly

@brandly I'd be happy to contribute when I get some time. I have strong TypeScript knowledge and experience, and I'm familiar with setting up various build configurations.

That said, there's no requirement that angular2 applications be written in TypeScript at all. You could use ES5.1 but that would be rather unpleasant in this context. If you have familiarity with Babel, you are free to use that. They can be mixed-and-matched and you can migrate to TypeScript by simply renaming your files and introducing type annotations. The main hurdle is understanding decorators but they are not particularly complicated.

aluanhaddad avatar Apr 14 '16 18:04 aluanhaddad

thanks @aluanhaddad! do you know any Angular 2 directives that, in your opinion, are built and set up well? i'd like to poke around an existing project and see how things work

brandly avatar Apr 14 '16 18:04 brandly

I'm definitely early on in the learning process as far as Angular 2 itself. Some of the Material Design components look very promising and they have good documentation. For example, this is their list component: https://github.com/angular/material2/tree/master/src/components/list

aluanhaddad avatar Apr 15 '16 01:04 aluanhaddad

@hughred22 @brandly I started some preliminary work on this a while back but angular 2 has been in flux for a very long time. Things do seem to be stabilizing so I'll try to take a look at it this weekend.

aluanhaddad avatar Jun 30 '16 01:06 aluanhaddad

thanks for the update @aluanhaddad! i really appreciate the help!

i just pushed a branch (with no changes) up to GitHub. that way, even if you make some progress, feel free to open PRs towards that branch 🌟

brandly avatar Jun 30 '16 01:06 brandly

Right on. That's what I'll do. :heart:

aluanhaddad avatar Jun 30 '16 02:06 aluanhaddad

Is there any update on this? Any ETA for an Angular 2 version of this great component ? Angular 2 is pretty stable now.

hughred22 avatar Mar 13 '17 17:03 hughred22

+1

tagniam avatar May 22 '17 14:05 tagniam

I want to apologize. I have had very little time of late and have not been able to work on this.

Additionally Angular 2 (now just Angular) has changed dramatically since I began using it.

The advent of AOT (Ahead Of Time compilation) and the expectation that even the simplest Angular libraries both run under AOT and ship additional metadata files has been very unfortunate as it severely complicates development. Furthermore, writing an AOT compliant application or library implies severe limitations and, more significantly, implies writing non-standard code in a language derived from TypeScript that has runtime behavior that is not compliant with the future of ECMAScript (and thereby is no longer TypeScript.

For what it is worth, at this point, Angular 2/4 is not something I would recommend using in general. It has grown disproportionately complex.

While I still do Angular development on occasion, I have not had the time to work on this and I would welcome anyone who wants to take up the endeavor to do so.

aluanhaddad avatar May 27 '17 16:05 aluanhaddad

Don't feel bad!! To be honest I really haven't used Angular in like 2 years, so I'm not at all up to date on Angular 2 or 4 or whatever.

If someone wants to use this in new versions of Angular, hopefully they'll contribute. Otherwise, I guess this repo will be stuck in Angular 1.

Have a good weekend!

On Sat, May 27, 2017 at 12:03 PM Aluan Haddad [email protected] wrote:

I want to apologize. I have had very little time of late and have not been able to work on this.

Additionally Angular 2 (now just Angular) has changed dramatically since I began using it.

The advent of AOT (Ahead Of Time compilation) and the expectation that even the simplest Angular libraries both run under AOT and ship additional metadata files has been very unfortunate as it severely complicates development. Furthermore, writing an AOT compliant application or library implies severe limitations and, more significantly, implies writing non-standard code in a language derived from TypeScript that has runtime behavior that is not compliant with the future of ECMAScript (and thereby is no longer TypeScript.

For what it is worth, at this point, Angular 2/4 is not something I would recommend using in general. It has grown disproportionately complex. While the Angular.

While I still do Angular development on occasion, I have not had the time to work on this and I would welcome anyone who wants to take up the endeavor to do so.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brandly/angular-youtube-embed/issues/112#issuecomment-304460808, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyF2O9u5jGRx7pvSin5VaGmraz1t9REks5r-ElmgaJpZM4H6aEb .

brandly avatar May 27 '17 16:05 brandly

are there any updates ?

arLevi avatar Jul 28 '17 19:07 arLevi

+1

LanderBeeuwsaert avatar Feb 14 '18 09:02 LanderBeeuwsaert

@LanderBeeuwsaert as I said I'm no longer working on it. I've no plans to use Angular 2/4/5 at present. Feel free to take this up.

aluanhaddad avatar Feb 15 '18 21:02 aluanhaddad

:-), (won't take you up on the offer) But thanks for responding!

LanderBeeuwsaert avatar Feb 15 '18 21:02 LanderBeeuwsaert