Q) Anyone know how to reference a file locally for both iOS and Android with better_player?
I cannot find a way to do this with their docs, I know it can be done with the in-house Flutter VideoPlayer plugin BUT I want to use better_player instead.
This works with the standard video plugin:
_videoController = VideoPlayerController.asset('assets/intro.mp4');
e.g. load a video in the project root at /assets/intro.mp4
I've tried this with better_player, but it doesn't find the file:
BetterPlayerDataSource betterPlayerDataSource = BetterPlayerDataSource(
BetterPlayerDataSourceType.file, "assets/sample.mp4");