Class: shaka.util.PlayerConfiguration

Constructor

new PlayerConfiguration()

Source:

Methods

(static) defaultTrackSelect(tracksnon-null, preferredAudioLanguage) → (non-null) {Array.<shaka.extern.Track>}

Parameters:
Name Type Description
tracks Array.<shaka.extern.Track>
preferredAudioLanguage string
Source:
Returns:
Type
Array.<shaka.extern.Track>

(static) mergeConfigObjects(destination, updatesnon-null, templateopt) → {boolean}

Merges the given configuration changes into the given destination. This uses the default Player configurations as the template.
Parameters:
Name Type Attributes Description
destination shaka.extern.PlayerConfiguration
updates Object
template shaka.extern.PlayerConfiguration <optional>
Source:
Returns:
Type
boolean