-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video Player plugin - Support HTTP headers #16466
Comments
Agreed, it would allow us to use the plugin to show videos hosted on our servers (for which we need Authorization header). |
I can volunteer to implement that.. |
@charafau any news on this? |
sorry didn't have much time over the week, I got working android implementation, give me some time to get around with objc and ios - I will do this this week. |
Any update on this? It's becoming quite critical for my app, but I only need the Android implementation for now, so trying to figure out how to proceed. |
For mine as well. @charafau may I suggest to open a WIP pull request with what you have got? This way others might help with what is missing or review what is already there. |
@freewheelnat @cbenhagen sorry about keeping you wait, headers on ios seems more complicated than I thought. I created WIP for android |
FYI, I have found a workaround for my use case, as the url I call for the video accept the https://username:password@url format for authentication, so I don't need to send an authorisation header. |
Unfortunately this does not work for us. |
Same here. Is there any update on adding headers support? |
I must say I failed to implement this for iOS, you'd have to change how current plugin works (or worked at that time) |
There are two PR trying to fix this issue but on iOS both use a private API ( |
Our app has been approved by Apple with this fix without a problem. |
Hello. Has there been any progress on this? |
This comment was marked as abuse.
This comment was marked as abuse.
Hello, any progress in this, it will be very useful ?? |
Any news about it? |
Please add support to http headers. It's a crucial setting. |
Are there any news about merging it to the master need this functionality for my engineer thesis ASAP ? |
I second that idea, it would be really handy. |
i have same issue. any news? |
any update on this issue? |
The proposed solutions use private iOS API. I heard that Apple started rejecting applications based on Electron for this reason. I don't think that they would take a risk to get such a solution merged in master. |
do you have a workaround for android only...i need it urgently |
Since supporting arbitrary headers currently seems blocked because of the private iOS API, I have created a separate issue (#61638) and PR (flutter/plugins#2882) for supporting Cookies only as a workaround 🤞 So, won't help if you need an "Authorization" header but will help if you need to attach a session cookie. |
This comment was marked as abuse.
This comment was marked as abuse.
Any update? |
This enables to pass HTTP headers to VideoPlayerController.network. Fixes: flutter/flutter#16466
This appears to not be working for web despite jsplayer fully supporting it. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This enables to pass HTTP headers to VideoPlayerController.network. Fixes: flutter/flutter#16466
It would be nice to add support for HTTP headers:
The text was updated successfully, but these errors were encountered: