omxplayer_video_player 2.0.0+1 copy "omxplayer_video_player: ^2.0.0+1" to clipboard
omxplayer_video_player: ^2.0.0+1 copied to clipboard

outdated

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. Note this only works on a Raspberry Pi with flutter-pi, not on any other platform, even though though platform tags of the pub.dev package seem to suggest otherwise.

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());
}
11
likes
0
pub points
64%
popularity

Publisher

verified publisherardera.dev

A package that implements video_player_platform_interface using omxplayer and platform views.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, video_player_platform_interface

More

Packages that depend on omxplayer_video_player