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

[bug] Multiple caption tracks for the same language are not available #2608

Open
emmitrin opened this issue Jan 28, 2023 · 0 comments
Open

Comments

@emmitrin
Copy link

I have some videos which include several options of subtitles for the same language (e.g. "English", "English extended" and so on).

I've added them as multiple track tags with the same srclang; Plyr renders the list of captions correctly, but when I select the second/third/... caption track it just picks the first one instead.

I haven't looked at the Plyr sources yet, but I guess it stores the picked caption track only based on srclang so this may lead to inability to have multiple tracks under the same srclang.

With pure HTML5 video the captions are behaving correctly.

Expected behaviour

Able to select one of the several English captions

Actual behaviour

Only the first English caption track will be selected even if you click on the second one

Steps to reproduce

  1. Open the pen below
  2. Go to Player Settings->Captions and select English (extended)
  3. English will be picked instead

Link to where the bug is happening

https://codepen.io/emmitrin/pen/dyjjYKr

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

No branches or pull requests

1 participant