flet-video#
A cross-platform video player for Flet apps.
It is based on the media_kit Flutter package.
Platform Support#
This package supports the following platforms:
Platform | Supported |
---|---|
Windows | ✅ |
macOS | ✅ |
Linux | ✅ |
iOS | ✅ |
Android | ✅ |
Web | ✅ |
Usage#
Installation#
To install the flet-video
package and add it to your project dependencies:
Windows Subsystem for Linux (WSL)
On WSL, you need to additionally install the libmpv
library.
If you receive error while loading shared libraries: libmpv.so.1: cannot open shared object file: No such file or directory
,
it means libmpv
library is not installed in your WSL environment.
To install it, run the following commands:
Examples#
See these.