Custom video player unloads when swiping with Swiper.js

I use @timothy1643 custom video player with Plyr.js inside a collection slider with Swiper.js, but when swiping between the slides on mobile devices (iPhone Safari and Chrome), the Plyr content seems to unload at the slide transition, and then load back in. I can not figure out how to solve it. Any ideas?

Screen recording:

Live demo:

Share link: