Skip to content

[HELP] How to run video_player example as a standalone project #2189

@alexkrz

Description

@alexkrz

Hi,

when I execute the video_player example from the examples directory with cargo run --bin video_player --features="v4_10", I can play my .mp4 video file.

Now I wanted to move the example code into a new project. I added the follwoing dependency to my Cargo.toml file: gtk = { version = "0.10", package = "gtk4", features = ["v4_10"] }

In this standalone project, the .mp4 video file is now not playing.
What could I be be missing when porting the example to a standalone project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions