Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.59 KB

File metadata and controls

54 lines (39 loc) · 1.59 KB

flet-video

pypi downloads license

A cross-platform video player for Flet apps.

It is based on the media_kit Flutter package.

Documentation

Detailed documentation to this package can be found here.

Platform Support

Platform Windows macOS Linux iOS Android Web
Supported

Usage

Installation

To install the flet-video package and add it to your project dependencies:

  • Using uv:

    uv add flet-video
  • Using pip:

    pip install flet-video

    After this, you will have to manually add this package to your requirements.txt or pyproject.toml.

Note

To play video on Linux/WSL you need to install libmpv library:

sudo apt update
sudo apt install libmpv-dev libmpv2

If you encounter libmpv.so.1 load errors, run:

sudo ln -s /usr/lib/x86_64-linux-gnu/libmpv.so /usr/lib/libmpv.so.1

Examples

For examples, see these.