Adding a Fallback Language
If your manifest doesn't include language data, you can specify the fallback language of the content with the following parameter:
Attribute | Type | Required | Description |
---|---|---|---|
language | string | no | Language of the content in ISO 639-1 format |
This attribute will make sure the assets that doesn't have a language information are registered with the registered language parameter.
const config = {
...
content: {
media: [
...
],
language: "en"
}
...
};
const player = new lura.Player(document.getElementById("player"));
player.setConfig(config);