ScriptYouTubePlayer
loads iframes of all videos on page, if one is clicked. #339
Open
Description
🐛 The bug
When there are multiple ScriptYouTubePlayer
instances on a page, clicking on a single video will swap the preview-images of all instances with the iframes.
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-kq6qv7el?file=app.vue
🌈 Expected behavior
I would expect, that only the video, that was clicked on gets loaded and the other instances remain untouched (keep their preview images).
ℹ️ Additional context
No response