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)
⚠️ If your device is old!
This package can load the video from file source while show the video at the same time. But this is not so with old devices or the devices that have a weak performance, So you must set play_after_loading to true. For example:
from flet_ivid import VideoContainer # import the package
import flet
def main (page:flet.Page):
page.bgcolor = "black"
vc = VideoContainer("yourvideo.mp4", play_after_loading=True, 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, if you do so it will be a RAM consuming and slow for biger videos..
Metadata
Release files for flet-ivid 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flet_ivid-1.2.tar.gz | 5.4 kB | Without provenance | Details for flet_ivid-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flet_ivid-1.2-py3-none-any.whl | Python 3 | none | any | Details for flet_ivid-1.2-py3-none-any.whl |
Total release size: 11.1 kB
Release files / flet_ivid-1.2.tar.gz
| Download URL | flet_ivid-1.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07b6f771f3cbac63b9550a0f259945724dfac5ab2e9732ff1623720ab4f82311
|
|
BLAKE2b-256 checksum How to use checksums |
d1de47ca8cf6b79cb14246b71847e85ff102ae273e81b909ced9d98c8a7c2937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / flet_ivid-1.2-py3-none-any.whl
| Download URL | flet_ivid-1.2-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c00f9074984960efbdd1b81d1b5665b3279b18c1ec409866abbaa53d09a8fd1
|
|
BLAKE2b-256 checksum How to use checksums |
54aebcec264cd312347b652fe13887d303f9a1ae698f4853f5a2f22ec5400492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for flet-ivid 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.