Amazon Vinyl
    Preparing search index...

    Interface AudioSelection

    Criteria used to pick which audio rendition to play.

    interface AudioSelection {
        descriptive?: boolean;
        language?: string | readonly string[] | null;
    }
    Index
    descriptive?: boolean

    Opt in to audio-description (a.k.a. described-video / DVS) audio: audio renditions carrying an accessibility "describes video" characteristic that narrate on-screen action. false (the default) keeps them out of the automatic default-audio selection — they are chosen only when this is set. When true, a description rendition is preferred where one exists for the selected language. Changing this reselects audio immediately.

    language?: string | readonly string[] | null

    Preferred language(s) for audio content, as RFC 5646 codes (e.g. 'en', 'ja', 'fr-CA'). May be a single tag or an ordered list of tags — earlier entries are preferred, with the best relatedness match kept for each period (audio without a language tag is always kept). null (the default) is NOT "no preference": it orders by the platform's navigator.languages. To keep every language, this option is not the mechanism — omit language content or pass a tag matching all.