We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2995571 commit 15c2552Copy full SHA for 15c2552
packages/video_player/video_player/lib/video_player.dart
@@ -446,7 +446,7 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
446
_creatingCompleter!.complete(null);
447
final Completer<void> initializingCompleter = Completer<void>();
448
449
- if (videoPlayerOptions?.webOptions != null) {
+ if (kIsWeb && videoPlayerOptions?.webOptions != null) {
450
await _videoPlayerPlatform.setWebOptions(
451
_textureId,
452
videoPlayerOptions!.webOptions!,
0 commit comments