ScriptYouTubePlayer
loads iframes of all videos on page, if one is clicked.
#339
Labels
bug
Something isn't working
๐ 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
The text was updated successfully, but these errors were encountered: