tvSimplyEmbedded constant
- @Deprecated('Youtube always requires authentication for this client')
Work even of restricted videos and provides low quality muxed streams, but requires signature deciphering. Does not work if the video has the embedding disabled.
Implementation
@Deprecated('Youtube always requires authentication for this client')
static const tvSimplyEmbedded = YoutubeApiClient(
{
'context': {
'client': {
'clientName': 'TVHTML5_SIMPLY_EMBEDDED_PLAYER',
'clientVersion': '2.0',
'hl': 'en',
'timeZone': 'UTC',
'gl': 'US',
'utcOffsetMinutes': 0
}
},
'thirdParty': {'embedUrl': 'https://www.youtube.com/'},
'contentCheckOk': true,
'racyCheckOk': true
},
'https://www.youtube.com/youtubei/v1/player?prettyPrint=false',
headers: {
'Sec-Fetch-Mode': 'navigate',
'Content-Type': 'application/json',
'Origin': 'https://www.youtube.com',
});