Easily embed YouTube videos in your Angular applications!
TL;DR; —
There’s a cool new component in the Angular world 🌎! It ma...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for the write up!
I just made some changes to show how you can have the video resize to fit its container space: github.com/angular/components/pull...
Here's that demo on StackBlitz: stackblitz.com/edit/youtube-player...
Dude THANK YOU!!!! U are AWESOME!!!
Awesome! Thank you!
Hello. I was wonder, with the tag method, what's the best way to use youtube's javascript API? For example I want to change the video time with player.getCurrentTime() or something. How would I do this?
You bastard you had to use a baby shark video didn't you?!
🦈🦈🦈🦈🦈
Great post!
One question, I've added a video correctly but I am wondering if I need to pay attention to the following warnings, apparently they start appearing after I use the Youtube Api directly or with this new component. Thanks in advance
Cool
Thanks! That was super simple to use! I was also able to use breakpoint observer to make it responsive!
You can use also use to make it responsive the bootstrap embed-responsive class
Does startSeconds work yet?
I can't seem to get it working though height and width work fine.
I've actually had the same issue! I started debugging it, but didn't get very far! You should raise an issue on the repo, or even make a PR!
Does anyone know how yo hide the player's controls?
Pass
{ controls: YT.Controls.Hide }
to theplayerVars
input property.