Parcourir la source

feat(web): disable closed captions when transcription is disabled (#2092)

Aaron van Meerten il y a 15 heures
Parent
commit
ed30d0d49c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      web/rootfs/defaults/settings-config.js

+ 1 - 0
web/rootfs/defaults/settings-config.js

@@ -358,6 +358,7 @@ config.enableTcc = false;
 // Transcriptions (subtitles and buttons can be configured in interface_config)
 config.transcription = {
     enabled: {{ $ENABLE_TRANSCRIPTIONS }},
+    disableClosedCaptions: {{ not $ENABLE_TRANSCRIPTIONS }},
     translationLanguages: {{ $TRANSLATION_LANGUAGES }},
     translationLanguagesHead: {{ $TRANSLATION_LANGUAGES_HEAD }},
     useAppLanguage: {{ $USE_APP_LANGUAGE }},