You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Open the pen below
Go to Player Settings->Captions and select English (extended)
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 samesrclang
; 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 samesrclang
.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
English (extended)
English
will be picked insteadLink to where the bug is happening
https://codepen.io/emmitrin/pen/dyjjYKr
The text was updated successfully, but these errors were encountered: