omxplayer_video_player 2.0.0
omxplayer_video_player: ^2.0.0 copied to clipboard
A package that implements video_player_platform_interface using omxplayer and platform views.
omxplayer_video_player #
A package that implements video_player_platform_interface using omxplayer and platform views.
Example usage #
To use this package in your app, execute OmxplayerVideoPlayer.useAsImplementation() in main, before the runApp call. Ideally you only do this when you're sure the platform code is present. You can check that using OmxplayerVideoPlayer.isPlatformSidePresent().
Example code:
void main() {
if (OmxplayerVideoPlayer.isPlatformSidePresent()) {
OmxplayerVideoPlayer.useAsImplementation();
}
runApp(MyApp());
}