Skip to content

Use in conjunction with other video_player implementation #170

Description

@Bonfra04

Describe the bug
I'd like to use FVP only for Linux builds.
For MacOS I'm fine with the default video_player implementation so i can just not include it in the register_with call.
For Windows, instead, I'm trying to experiment with the video_player_win package; this is sadly not possible since FVP implements all the interfaces at once, leading to the following error:

Plugin video_player:windows has conflicting direct dependency implementations:
  fvp
  video_player_win
To fix this issue, remove all but one of these dependencies from pubspec.yaml.

Please resolve the plugin implementation selection errors

Expected behavior
Some way to be more specific about which platform to include plugin-wise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions