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.6.tar.gz (9.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: flet_ivid_hks-1.6.tar.gz
  • Upload date:
  • Size: 9.7 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.6.tar.gz
Algorithm Hash digest
SHA256 8e5e68c01d102bba0b105da5973d082a34d3e847790a787b992e6a913056cefd
MD5 df6d85159dc1f1e1debd633cf52d0312
BLAKE2b-256 481260c058d157cb9305ca4644bf12f37f66c28100a6dd1556d24a0ef9b188da

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