Skip to main content

A package tool that provide basic video player 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.2.tar.gz (7.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: flet_ivid_hks-1.2.tar.gz
  • Upload date:
  • Size: 7.1 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.2.tar.gz
Algorithm Hash digest
SHA256 01100df4f03dbcf3879680c882832915190f61d0a1df80cac5f5f7c13cca556b
MD5 d748d75fa251261cabddf6aebbcd808b
BLAKE2b-256 b55c22953eac60fe23085e9b82699ef7719f5630eb4a6567981fde7ea31f03a6

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