Headers not working
abdulllrashid opened this issue · 2 comments
abdulllrashid commented
I'm trying to pass the headers when playing m3u8 videos. Unfortunately, it isn't working somehow. Please refer to the screenshots.
My Code being
_videoPlayerController =
VideoPlayerController.network(videoUrl, httpHeaders: {
'Cookie': "Cookies dummy string",
'useCookie': "true",
'useCookies': "true",
})
balvinderz commented
try document.cookie = "some value" before initializing the video
balvinderz commented
i think cookie is not send when using localhost ( I can be wrong)