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)
Built Distribution
Close
Hashes for st_video_player-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf464b96d2e88f43e79165946881bf819008f249e60671ea9f1494e4337d2e0 |
|
MD5 | 85984b4f6d00d0d2b7ab1652bc71c47b |
|
BLAKE2b-256 | 25a03ed69700c33c18bed9be4c1fa21a09c78a811255610c7f09cef72099fe41 |