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

Update captions after player init #2779

Open
rahmaniali-ir opened this issue Mar 15, 2024 · 0 comments
Open

Update captions after player init #2779

rahmaniali-ir opened this issue Mar 15, 2024 · 0 comments

Comments

@rahmaniali-ir
Copy link

I have a working player with one caption track and it's working fine. But I need to add the functionality to update the caption after it's been initialized, to give the users the ability to select a different subtitle.

The problem is that I can not give the list of all available subtitles to the player when initializing, because they are '.srt' files so I have to convert the selected one to '.vtt' first.

I need a way to update the config after init, or a way to update the player to use the new converted subtitle.
I've been searching and trying different solutions and hacks that I could think of or find online, but no results yet.

Any solutions?

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