Well, I just spent decent amount of time trying to make Youtube video work inside a carousel.
On ‘slide in’ play video if there is one, and pause all others.
Did seam like a routine task, but as they say – devil is in the detail.
Anyhow, worth sharing, read inline comments:
Thank you, this has helped me no ends today. I’m using the player api with flickity js.
Glad you found it helpful, I did scratch my head for some time as well, hence the post