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?

Cheers
Jacob


Here is my site Read-Only:[LINK]
https://preview.webflow.com/preview/anatomia-300a7b?utm_medium=preview_link&utm_source=dashboard&utm_content=anatomia-300a7b&preview=c3803a2ede0343c1cac64abc33d1daf3&mode=preview
(how to share your site Read-Only link)