Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScriptYouTubePlayer loads iframes of all videos on page, if one is clicked. #339

Open
codeflorist opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@codeflorist
Copy link

๐Ÿ› 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

@codeflorist codeflorist added the bug Something isn't working label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant