We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

TrackDefault.language

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Draft
This page is not complete.

The language read-only property of the TrackDefault interface returns a default language for an associated SourceBuffer to use when an initialization segment does not contain language information for a new track.

This should be a valid language code, e.g. en-US.

Syntax

var mylanguage = TrackDefault.language;

Value

A DOMString.

Example

TBD

Specifications

Specification Status Comment
Media Source Extensions
The definition of 'language' in that specification.
Recommendation Initial definition.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? No support ? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ?

No support

No support ? ? No support

See also

Document Tags and Contributors

Contributors to this page: chrisdavidmills
Last updated by: chrisdavidmills,