Skip to main content

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:


Leave a Reply

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

Please don’t paste any HTML, Js or PHP code into comments box, use or similar service to share code examples.

Characters left: 1000