Socket
Socket
Sign inDemoInstall

st-video-player

Package Overview
Dependencies
7
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    st-video-player

Streamlit component that allows you to play videos from bytes


Maintainers
1

Readme

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)

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc