diff --git a/packages/video_player/video_player_platform_interface/lib/video_player_platform_interface.dart b/packages/video_player/video_player_platform_interface/lib/video_player_platform_interface.dart index bf8ef81777a9..13c9cf55aa7e 100644 --- a/packages/video_player/video_player_platform_interface/lib/video_player_platform_interface.dart +++ b/packages/video_player/video_player_platform_interface/lib/video_player_platform_interface.dart @@ -100,7 +100,7 @@ abstract class VideoPlayerPlatform extends PlatformInterface { throw UnimplementedError('getPosition() has not been implemented.'); } - /// Returns a widget displaying the video with a given playerID. + /// Returns a widget displaying the video with a given playerId. @Deprecated('Use buildViewWithOptions() instead.') Widget buildView(int playerId) { throw UnimplementedError('buildView() has not been implemented.'); @@ -112,12 +112,12 @@ abstract class VideoPlayerPlatform extends PlatformInterface { return buildView(options.playerId); } - /// Sets the audio mode to mix with other sources + /// Sets the audio mode to mix with other sources. Future setMixWithOthers(bool mixWithOthers) { throw UnimplementedError('setMixWithOthers() has not been implemented.'); } - /// Sets additional options on web + /// Sets additional options on web. Future setWebOptions(int playerId, VideoPlayerWebOptions options) { throw UnimplementedError('setWebOptions() has not been implemented.'); }