Advanced player setting: Set the default audio language


About

You can set the default audio language through the player’s Advanced Settings. This configuration is not exposed in the standard Player Studio interface.

Use this setting to define which audio track is selected automatically when playback begins.

Access the advanced settings

VOD Audio Reels

  1. Log in to your KMC and click the Studio tab. 
  2. The Player Studio page displays. 

  3. Click the player you want to edit from the list (or use the search bar in the top right).
  4. If you haven't created a player yet, check out our article Create a player for guidance.

    The player settings display.

  5. Scroll to the bottom of the player settings and click Advanced Settings.
  6. The Advanced Settings editor displays.

Set default audio language

  1. In the Advanced Settings tab, hover over playback then click the green+ icon.
  2. The Key Name box displays.

  3. In the box, enter audioLanguage, then click the green checkmark or press 'enter'.
  4. You’ll see the new setting listed.

  5. Hover over the setting and click the green edit icon.
  6. A box containing a null value displays.

  7. Replace null with a language code such as eng (English) or es (Spanish).
  8. Click the green check mark.
  9. The result looks like this:

    Configuration set to English

  10. Click Save at the top right before exiting.

User experience

Player audio language selector

If you set the value to auto, the player selects the matching audio track automatically when available.

var config = {  playback: {    audioLanguage: 'auto'  }
};

Multi-audio playback requires a designated audio flavor for each language in the account’s transcoding profile. This setup requires Professional Services. Contact your Kaltura representative for assistance.

Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In this article
Related articles