Home > hls.js > AttrList > parseAttrList

AttrList.parseAttrList() method

Signature:

static parseAttrList(input: string, parsed?: Pick<ParsedMultivariantPlaylist | LevelDetails, 'variableList' | 'hasVariableRefs' | 'playlistParsingError'>): Record<string, string>;

Parameters

Parameter

Type

Description

input

string

parsed

Pick<ParsedMultivariantPlaylist | LevelDetails, 'variableList' | 'hasVariableRefs' | 'playlistParsingError'>

(Optional)

**Returns:**

Record<string, string>