The issues you’re running into are pretty common with older video libraries—things like tricky state management, hard integration with Flutter widgets, and limited support for different video sources.
A newer library like omni_video_player makes these things much simpler to handle.