Skip to content
New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Listeners not working when using usePlyr with options #1098

Open
DestroyCom opened this issue Sep 11, 2023 · 1 comment
Open

Listeners not working when using usePlyr with options #1098

DestroyCom opened this issue Sep 11, 2023 · 1 comment

Comments

@DestroyCom
Copy link

Describe the bug
I tried to use a timeupdate listener on usePlyr, when I just add the source object it works but when I add the options, the listener doesn't register anymore....
I tried to add the options directly on the default but its not working too

To Reproduce
When I select one of my srt files, it updates the plyr source with the correct .vtt file, the plyr is reset and the listener not activated

Expected behavior
When I add an option, the listener should work...

Desktop (please complete the following information):

  • OS: MacOS Ventura 13.5.2
  • Browser Edge
  • Version 116.0.1938.76

Additional context
code : https://gist.github.com/DestroyCom/1ee9a0d3f9d3ed024d56293292264f41

@the-rich-piana
Copy link

Not sure if I'm having the same issue, but if my VTT isn't loaded properly it appears the currentTime and "timeupdate" event listener doesn't work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants