-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[video-player] add support for content uris as urls #1813
[video-player] add support for content uris as urls #1813
Conversation
|
Does it make sense to flip the condition here Lines 84 to 94 in f54590f
to use DefaultDataSourceFactory by default and DefaultHttpDataSourceFactory on http or https? |
cyanglaz
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.
Thanks for the contribution. The fix looks good. Just need to update the changelog and pubspec with a new version.
I think you are right. We can get rid of the |
d5e1fd7 to
391e3b2
Compare
cyanglaz
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.
Did another review, overall it looks good. Left some comments!
And the CI seems not happy with the formatting, could you also fix that?
df91885 to
d9f6841
Compare
-- all http and https uris will be routed to DefaultHttpDataSourceFactory -- everything else will use DefaultMediaSource
d9f6841 to
74d2c21
Compare
iskakaushik
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
|
@cyanglaz does everything looks good to you? |
cyanglaz
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
content:// uris will be routed from DefaultDataSourceFactory in Android
content:// uris will be routed from DefaultDataSourceFactory in Android
content:// uris will be routed from DefaultDataSourceFactory in Android
#1706 Description
content:// uris will be routed from DefaultDataSourceFactory in Android
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?