Craig is a Software Engineer from New Zealand, working at Spotify in Stockholm. He loves building things that help teams build cool things! He also loves punk rock, Disney's Frozen, and his cat Cosy!
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
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?
Craig is a Software Engineer from New Zealand, working at Spotify in Stockholm. He loves building things that help teams build cool things! He also loves punk rock, Disney's Frozen, and his cat Cosy!
Craig is a Software Engineer from New Zealand, working at Spotify in Stockholm. He loves building things that help teams build cool things! He also loves punk rock, Disney's Frozen, and his cat Cosy!
👨🏫 Co-Founder of This is Learning, Organizer of AarhusJS
✍️ Writer, Speaker, FOSS Maintainer 📗 Author
🏆 Microsoft MVP 🌟 GitHub Star
🌊 Nx Champion 🦸 Angular Hero of Education
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!
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
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?!
🦈🦈🦈🦈🦈
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
Cool
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 theplayerVarsinput property.