Skip to main content

A package tool that provide basic video player and easy clip for flet.

Project description

flet_ivid_hks

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_hks --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_hks 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, if you do so it will be a RAM consuming and slow for biger videos..

Project details


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_hks-1.5.tar.gz (9.6 kB view details)

Uploaded Source

File details

Details for the file flet_ivid_hks-1.5.tar.gz.

File metadata

  • Download URL: flet_ivid_hks-1.5.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for flet_ivid_hks-1.5.tar.gz
Algorithm Hash digest
SHA256 d9092d84a5e074fa2c44f36ab908e10aa2f6160ad2b63816de4953b1fd274176
MD5 fd18f772f019ba4021a1193f0d56eedd
BLAKE2b-256 e93b4b036b515f54c0f32213f548221f70de2d71062d378eedd65575d59b772d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page