video_player_web_hls
video_player_web_hls copied to clipboard
Headers not working
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",
})

try document.cookie = "some value" before initializing the video
i think cookie is not send when using localhost ( I can be wrong)