How to auto stop video player

Hi Webflow Community

I have created a video player by using a Tabs, so that it is possible to choose between 5 different videos. The videos are hosted on YouTube.

When I play video 1 – the video player is playing video 1 – and that’s great.

But if I then (when video 1 is still playing) choose to watch video 2 in the Tabs-menu – video 1 continues to play in the background. And that’s – not so god.

Do I need a css code - and if so - where do I put it?


Here is my site Read-Only:[LINK]
(how to share your site Read-Only link)