- Minor fixes for new analysis options.
- Removes unnecessary imports.
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
- Ensures
buffering
state is only removed when the browser reports enough data has been buffered so that the video can likely play through without stopping (onCanPlayThrough
). Issue #94630. - Improves testability of the
_VideoPlayer
private class. - Ensures that tests that listen to a Stream fail "fast" (1 second max timeout).
- Internal code cleanup for stricter analysis options.
- Removes dependency on
meta
.
- Adds compatibility with
video_player_platform_interface
5.0, which does not include non-dev test dependencies.
- Adopt
video_player_platform_interface
4.2 and opt out ofcontentUri
data source.
- Add
implements
to pubspec.
- Updated installation instructions in README.
- Fix videos not playing in Safari/Chrome on iOS by setting autoplay to false
- Change sizing code of
Video
widget'sHtmlElementView
so it works well when slotted. - Move tests to
example
directory, so they run as integration_tests withflutter drive
.
- Migrate to null safety.
- Calling
setMixWithOthers()
now is silently ignored instead of throwing an exception. - Fixed an issue where
isBuffering
was not updating on Web.
- Update Flutter SDK constraint.
- Substitute
undefined_prefixed_name: ignore
analyzer setting by adart:ui
shim with conditional exports. Issue.
- Added option to set the video playback speed on the video controller.
- Allow users to set the 'muted' attribute on video elements by setting their volume to 0.
- Do not parse URIs on 'network' videos to not break blobs (Safari).
- Remove Android folder from
video_player_web
.
- Updated video_player_platform_interface, bumped minimum Dart version to 2.1.0.
- Declare API stability and compatibility with
1.0.0
(more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
- Add
analysis_options.yaml
to the package, so we can ignoreundefined_prefixed_name
errors. Works around flutter/flutter#41563.
- Make the pedantic dev_dependency explicit.
- Add a
PlatformException
to the player'seventController
when there's avideoElement.onError
. Fixes flutter/flutter#48884. - Handle DomExceptions on videoElement.play() and turn them into
PlatformException
as well, so we don't end up with unhandled Futures. - Update setup instructions in the README.
- Add an android/ folder with no-op implementation to workaround flutter/flutter#46898.
- Support videos from assets.
- Remove the deprecated
author:
field from pubspec.yaml - Require Flutter SDK 1.10.0 or greater.
- Initial release