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
Complete Flutter VLC Player Rewrite - co-authroed with @alr2413 #159
Complete Flutter VLC Player Rewrite - co-authroed with @alr2413 #159
Conversation
Swift conversion v2 (solid-software#50)
Bugfix
sync merge master
Fix iOS Seek Time Issue ( Issue solid-software#72 ) (solid-software#75)
Add vlc options from flutter (REDO) (solid-software#84)
Add Volume options (solid-software#86)
sync merge
sync merge
sync merge
sync merge
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.
Great! Thank you!
Could you please restore funding.yaml and do some cleanup (remove deprecated/commented out files)? Also we seem to have lost some changelog
versions and maybe some other changes we added while you were working on this?
Thanks for your awesome work!
Try this.... I cannot figure out why its doing this. The gitignore may be wrong...
Then in your git tool of choice discard all of the changes besides the xcworkspace changes. If you keep the files after the create it will fail. |
Yeah, |
@solid-software @solid-pavloprykhodko its ready for merge now. cc @alr2413 |
@solid-software .. cc @alr2413 Its come to our attention that this change cannot be published right away without some changes. If you try to manually point a new flutter project at this branch and do a flutter pub get, it will error out saying no pubspec was found. This is because the root folder name and the library folder name are the same. There is a fix, we can take the contents of 'flutter_vlc_player' and move them to the root of the project. This will mostly work however there is one issue. You cant publish a package with path dependencies. Ie
Instead we need
However, we cant test this locally right now because flutter_vlc_player_platform_interface is not published yet. See -> https://dart.dev/tools/pub/dependencies
Refs - |
flutter_vlc_player/README.md
Outdated
|
||
First run 'git clean' | ||
Delete existing ios folder from root of flutter project. | ||
Run this command flutter create -i swift . | ||
Be sure to follow instructions above after for plist and pod file changes. | ||
|
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.
Let's split out the commands as codeblocks - they're easier to read and copy that way. Example below:
- Clean the repo:
git clean
- Delete existing
ios
folder from root of flutter project. If you have some custom changes made to the iOS app - rename it or copy somewhere outside the project. - Re-create the iOS app:
flutter create -i swift .
Make sure to update the project according to warnings shown by the flutter tools. (Update Info.plist, Podfile).
If you have some changes made to the iOS app, recreate the app using above method and copy in the changed files.
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
flutter_vlc_player/README.md
Outdated
## API | ||
```dart | ||
TBD | ||
``` |
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.
I'm not sure we need an API description in the README. Let's remove this section.
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
flutter_vlc_player/README.md
Outdated
To start using the plugin, copy this code or follow the example project in 'flutter_vlc_player/example' | ||
|
||
```dart | ||
TBD |
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.
Could you please add a minimal example here?
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.
Added!
The player UI becomes unresponsive when it finishes playing. The Dart code seems to come through OK, |
… into platform_interface_vlc_pluginv2
I have fixed this and pushed. We can discuss if this is not best approach, but is working on both platforms now :) ... cc @alr2413 |
Update 1pm 1/19/2021. Fully resolved. |
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!
Once again, great work!
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.
Sorry, wrong account. LGTM!
Ping @solid-software, The PR is already merged, but it's not released & not published in "pub.dev" repo. |
#158
@alr2413 and I have been hard at work past few months rewriting VLC plugin from scratch to support plugin v2. See https://medium.com/flutter/modern-flutter-plugin-development-4c3ee015cf5a
Here we have done a few things.
Couple things.
We started a brand new repo for the work. It can be found here -> https://github.com/alr2413/flt_vlc_player/tree/master/flutter_vlc_player
This PR forks from Solid Software, incorporates @alr2413 code from their Repo and packages it into one singular PR commit.
Testing