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

[Enhancement] Caption size configuration option #5140

Open
Kommynct opened this issue Jan 8, 2025 · 3 comments
Open

[Enhancement] Caption size configuration option #5140

Kommynct opened this issue Jan 8, 2025 · 3 comments
Labels
enhancement Improvement of an existing feature

Comments

@Kommynct
Copy link

Kommynct commented Jan 8, 2025

Is your enhancement request related to a problem? Please describe.
Right now, if you set a caption size and then refresh the page, it isn't saved.

Describe the solution you'd like
This should probably be stored in the cookie

Describe alternatives you've considered
n/a

Additional context
Perhaps this is a bug?

@Kommynct Kommynct added the enhancement Improvement of an existing feature label Jan 8, 2025
@syeopite
Copy link
Member

syeopite commented Jan 8, 2025

The caption size setting is done through our player — VideoJS — and not a feature of Invidious directly and is done entirely client side through the player.

It might be possible to adjust the default caption size when initializing a player though I'm not sure.

@Kommynct
Copy link
Author

Kommynct commented Jan 8, 2025

In that case, i've made a request to the videojs team, thank you!

@Kommynct
Copy link
Author

Kommynct commented Jan 9, 2025

You can include persistTextTrackSettings: true in the player options. That will store changes in local storage.

is apparently the solution recommended by them!

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

No branches or pull requests

2 participants