Back

how to get and add header

  • 0
  • Flutter
  • Auth
kanhaiya lal bohra
17 Nov, 2024, 08:08

Hello, I am developing a Flutter web app and using the video player package to play videos. The issue arises when I change the file permission to 'users only'; the video won't play, although it works when set to 'anyone'. The video player package offers a headers option, but I'm unsure how to obtain the cookie and the correct structure to send it.

TL;DR
Developers are working on a Flutter web app with the video player package. When changing the file permission to 'users only', videos won't play (but work on 'anyone'). The video player package has a headers option for passing the cookie, but unsure about the correct structure.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more