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.7.tar.gz
(517.1 kB
view hashes)
Built Distribution
Close
Hashes for st_video_player-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ea9ad8463600dbed4b80b897759a25b745dc58baf2389dbe578553827bd457 |
|
MD5 | ff2dbe16b4f41db05c06d1ca6902ae87 |
|
BLAKE2b-256 | 64f4f82cc0de07026de4dec857027eb3e82d8b73ca15a35fe4711810f6855cf5 |