Making Youtube iframe API videos work in carousel / tab

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:

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *