commit | 1e95a8caaa4b70653ba72151a2b854ae2b9815de | [log] [tgz] |
---|---|---|
author | MH Johnson <johnsonmh@users.noreply.github.com> | Mon Feb 10 13:00:23 2020 -0500 |
committer | GitHub <noreply@github.com> | Mon Feb 10 10:00:23 2020 -0800 |
tree | d618b3b80f127c9f70142950fe570a3bbe92eef7 | |
parent | 619392df4b8908b210881e408862a2e26756f3c9 [diff] |
[video_player] Add caption to VideoPlayerValue to get the current closed caption (#2487) This PR adds closed caption support to the `VideoPlayerController` and `VideoPlayerValue`. It also adds a basic widget for displaying closed captioning on top of a `VideoPlayer`. In addition, this PR: * Adds tests for the caption functionality. * Refactors the `example/lib/main.dart` file to include closed caption example, and reduce some of the boiler plate. * Closes [flutter/flutter#49813](https://github.com/flutter/flutter/issues/49813)
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.