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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file st_video_player-0.0.8.tar.gz.
File metadata
- Download URL: st_video_player-0.0.8.tar.gz
- Upload date:
- Size: 517.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e732cf179e525c9012ed769fa02b68ea5155a88dae9600fa7b98b88e5eacdb5
|
|
| MD5 |
5086aba625246466e1b3c2e7a1033ece
|
|
| BLAKE2b-256 |
ce449f12f09f120dfc045fdea77ec3ccf73a3fc4bfa51dbfb5465d5ced8eb1ab
|
File details
Details for the file st_video_player-0.0.8-py3-none-any.whl.
File metadata
- Download URL: st_video_player-0.0.8-py3-none-any.whl
- Upload date:
- Size: 521.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbf464b96d2e88f43e79165946881bf819008f249e60671ea9f1494e4337d2e0
|
|
| MD5 |
85984b4f6d00d0d2b7ab1652bc71c47b
|
|
| BLAKE2b-256 |
25a03ed69700c33c18bed9be4c1fa21a09c78a811255610c7f09cef72099fe41
|