Stop video playback after closing modal with custom player (Plyr)

Hi guys! Need your help. I built a custom popup modal with Plyr player, and the video keep playing after I close it. Can you help with custom code, because I’m very new with coding, and have a lack of experience?

This modal works with youtube embedded videos, in the skin of Plyr.
Here is my custom code for this:

It’s also connected to the CMS, to pull videos right away from id.

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

I’ve got the same problem as you … here CMS & PLAYERS control - btn Return doesn't stop the video it was working without cms , but didn’t manage with cms…
did you found a code to stop the Plyr when closing or touching a button ?