Flutter 3.35.4
Tools • Dart 3.9.2 • DevTools 2.48.0
OS: Windows 10 / 11
desktop_multi_window: ^0.2.1
video_player_win: ^3.2.0
video_player: ^2.9.2
Video playback works in the main window but fails in the secondary one.
It seems the plugin is not registered in the new Flutter engine created by desktop_multi_window.
When opening a second window with desktop_multi_window, using video_player_win causes this error:
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: MissingPluginException(No implementation found for method clearAll on channel video_player_win)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:365:7)
platform_channel.dart:365
[log] controller.initialize() error occurs: MissingPluginException(No implementation found for method openVideo on channel video_player_win)