A package tool that provide basic video player for flet.
Project description
flet_ived
A package tool that provide basic video player for flet. Its super easy to use, its built to be used as a normal flet
control.
installation
To install, just type:
pip install flet_ivid --upgrade
usage
To start show your video inside your flet
app, you can just import the VideoContainer
control and use its properties, for example:
from flet_ivid import VideoContainer # import the package
import flet
def main (page:flet.Page):
page.bgcolor = "black"
vc = VideoContainer("yourvideo.mp4", border_radius=18, expand=True) # This is a VideoContainer
page.add(flet.Row([vc], alignment="center"))
vc.play() # call `play` function to make the video start playing.
# Call `vc.pause()` to stop the video from playing.
flet.app(target=main)
Note
Note
: You should know that this built to be used for basic small or normal usage, its can NOT be used for big production cases, its a RAM consuming and slow for biger videos..
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flet_ivid-1.0.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file flet_ivid-1.0.tar.gz
.
File metadata
- Download URL: flet_ivid-1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab56def7964c4aab0ad0e04b1970d9c8a610c25c61039f64fe9b8ee9d357f63 |
|
MD5 | 14cf2137f4e2552bb52a78ba0fcf4cca |
|
BLAKE2b-256 | f3271e7b28d5f752fa2613277e5829289a27d30d8ffd914ad0bf7b9f488f6b33 |
File details
Details for the file flet_ivid-1.0-py3-none-any.whl
.
File metadata
- Download URL: flet_ivid-1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572a4f2713fde525e2e71ba1aa8b0b95de76264ca1c37659e07eb83be3009a7a |
|
MD5 | b045254f3e88984b64851d5248d18cb1 |
|
BLAKE2b-256 | dbba6f01dd02feb88952f28aef2ea5a9c9d594c02a1f8d1f3891fbd2309f03e6 |