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.6.tar.gz
(438.4 kB
view hashes)
Built Distribution
Close
Hashes for st_video_player-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a07955f4d64aa2553e3a555230aba23ee5cc8d8a30b34155adf6adacd39477 |
|
MD5 | 226e730d2bb2fa2ac68ae0a9edbdde1b |
|
BLAKE2b-256 | 9f12271e6489b4ca0b13d9f215ad4ae2317a78390f7893e810569935be37fc58 |