polimediaupv / paella-core

Paella Player core library
Educational Community License v2.0
20 stars 15 forks source link

Restore user captions settings #371

Open snoesberger opened 1 week ago

snoesberger commented 1 week ago

As with the playback rate, volume, etc., it would be nice to be able to save the subtitle settings that the user has chosen. For example, if a user activates Spanish subtitles for the video they are watching, the next time they open a video, the Spanish subtitles, if available, will be displayed automatically.

Again, like for the playback rate and volume, the behaviour should be configurable in the config.json:

"videoContainer": {
        "restorePlaybackRate": true,
        "restoreVolume": true,
...