-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[video_player_platform_interface] add http headers #3702
[video_player_platform_interface] add http headers #3702
Conversation
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small change, otherwise looks good.
|
|
||
| /// HTTP headers used for the request to the [uri]. | ||
| /// Only for [DataSourceType.network] videos. | ||
| Map<String, String>? httpHeaders; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-nullable with empty default; see comment in other review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it
...ages/video_player/video_player_platform_interface/test/method_channel_video_player_test.dart
Show resolved
Hide resolved
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
This seems to have no
|
|
@aliyazdi75 yes, because this PR is just platform_interface part of #3671 which isn't merged yet |
|
@PiN73 oh, ok. They must be separated, for a PR? |
|
@aliyazdi75 yes, as described in here. In short, the reason is that video_player depends on video_player_platform_interface, new version of which must be published to pub.dev first |
This PR is a subset of #3671 and includes changes only in
video_player_platform_interfacepackage, as required in CONTRIBUTING.md