fix: wrong element name (#217)

This commit is contained in:
Émilien Devos
2022-10-11 10:03:21 +02:00
committed by GitHub
parent 5313c57783
commit 19d579df13

View File

@@ -278,7 +278,7 @@ export default class Parser {
formats: Parser.parseFormats(data.streamingData.formats),
adaptive_formats: Parser.parseFormats(data.streamingData.adaptiveFormats),
dash_manifest_url: data.streamingData?.dashManifestUrl || null,
dls_manifest_url: data.streamingData?.dashManifestUrl || null
hls_manifest_url: data.streamingData?.hlsManifestUrl || null
} : undefined,
current_video_endpoint: data.currentVideoEndpoint ? new NavigationEndpoint(data.currentVideoEndpoint) : null,
captions: Parser.parseItem<PlayerCaptionsTracklist>(data.captions, PlayerCaptionsTracklist),