Skip to main content

Streamlit component that allows you to play videos from bytes

Project description

streamlit-custom-component

Streamlit component that allows you to do play videos from bytes

Installation instructions

pip install pip install st-video-player

Usage instructions

import streamlit as st
from st_video_player import st_video_player

mp4_file_path = "./path/to/video/*.mp4"

with open(file_path, "rb") as file:
    mp4_bytes = file.read()
    st_video_player(mp4_bytes, height=600)

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

st_video_player-0.0.8.tar.gz (517.1 kB view hashes)

Uploaded Source

Built Distribution

st_video_player-0.0.8-py3-none-any.whl (521.9 kB view hashes)

Uploaded Python 3

Supported by

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