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

Player events not working properly with the Vidyard videos #1638

Open
LoayH98 opened this issue May 25, 2023 · 0 comments
Open

Player events not working properly with the Vidyard videos #1638

LoayH98 opened this issue May 25, 2023 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@LoayH98
Copy link

LoayH98 commented May 25, 2023

Current Behavior

If I rendered more than video with the same url in different positions of the page, the listener like onPlay will trigger for both of the videos at the same time when I work with one of them which make it duplicated with the number of videos that have same url

Expected Behavior

The id of the listener should be unique and not using only the source of the video

Steps to Reproduce

Render two or more of Vidyard videos using react player in the same page and same src value, you will get multi triggers when the user act with one of the video which does not make sense

Environment

Other Information

image

@luwes luwes added the bug Indicates an unexpected problem or unintended behavior label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants