Skip to content

LanguagesArg

LanguagesArg = readonly Lang[] | LanguagesConfig | undefined

Defined in: builder.ts:92

The argument accepted by video.languages(...). The web app always owns the set; code seeds it:

  • omitted: nothing seeded (render pending until the web selects a set, unless per-feature keys contribute languages).
  • ['en', 'fi']: seeded with these languages.
  • { languages, mode, ... }: seeded with this config (the web can edit the set, and later the mode/locales).