diff --git a/packages/video_player/video_player_web/lib/src/video_player.dart b/packages/video_player/video_player_web/lib/src/video_player.dart index 6a85f75d0c2c..3d047be76581 100644 --- a/packages/video_player/video_player_web/lib/src/video_player.dart +++ b/packages/video_player/video_player_web/lib/src/video_player.dart @@ -205,7 +205,7 @@ class VideoPlayer { /// Sets options Future setOptions(VideoPlayerWebOptions options) async { - // incase called multiple times, reset options + // In case this method is called multiple times, reset options. _resetOptions(); if (options.controls.enabled) { diff --git a/packages/video_player/video_player_web/pubspec.yaml b/packages/video_player/video_player_web/pubspec.yaml index 846a6c72c864..6fdbaf8ef7b7 100644 --- a/packages/video_player/video_player_web/pubspec.yaml +++ b/packages/video_player/video_player_web/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: sdk: flutter flutter_web_plugins: sdk: flutter - video_player_platform_interface: ">=6.2.0 <7.0.0" + video_player_platform_interface: ^6.2.0 dev_dependencies: flutter_test: