streamlit_cld_video_player
Embed Cloudinary's video player as a component in Streamlit applications.
Installation instructions
pip install streamlit_cld_video_player
Usage instructions
import streamlit as st
from streamlit_cld_video_player import cld_video_player
value = cld_video_player(
cloud_name='demo', # your environment name on Cloudinary
public_id='dog' # name of a video file on Cloudinary
)
st.write(value)
Detailed Usage
Upload widget is the tool used for embedding Cloudinary's Upload Widget into your application. The widget has quite a few customization parameters. This python module exposes the following options:
Video player widget is a tool used for embedding Cloudinary's Video Player widget into your applications. The widget has 4 types of configuration parameters listed on the Video Player API reference page. However, for this python implementation, we can configure the following parameters:
| Parameter | Purpose | Default Value |
|---|---|---|
| cloud_name | Name of your Cloudinary product environment | None. Required value |
| public_id | Name of your video. | None. Required value |
| aiHighlightsGraph | Show an AI-generated visual representation of the highlights of a video | FALSE |
| bigPlayButton | Show a larger central play button when the video is paused. | FALSE |
| controls | Display the video player controls | TRUE |
| loop | Perform standard HTML5 video looping. | FALSE |
| muted | Start the video muted. | TRUE |
| playsinline | Relevant for iOS only. Whether the video should be prevented from entering fullscreen mode automatically when playback begins. | FALSE |
| fluid | Whether to activate fluid layout mode, which dynamically adjusts the player size to fit its container or window. | TRUE |
| showinfo | Display the video information like the title and subtitle of the video. The values are provided with the parameters "title" and "subtitle" | TRUE |
| showLogo | Show a clickable logo within the player. | TRUE |
| startAt | Time at which to start the video playback. | 0 |
| autoplay | Apply standard HTML5 autoplay. | FALSE |
| autoplayMode | The autoplay mode to use for the player. Similar to the default HTML5 autoplay parameter, but with the addition of on-scroll support. | on-scroll |
| pictureInPictureToggle | Show the picture in picture toggle button. | FALSE |
| title | Title to be displayed for the video | NONE |
| subtitle | Subtitle to be displayed for the video | NONE |
| skin | Use the 'light' or 'dark' mode. | dark' |
Metadata
Release files for streamlit-cld-video-player 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamlit_cld_video_player-0.1.0.tar.gz | 7.1 kB | Without provenance | Details for streamlit_cld_video_player-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_cld_video_player-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for streamlit_cld_video_player-0.1.0-py3-none-any.whl |
Total release size: 14.4 kB
Release files / streamlit_cld_video_player-0.1.0.tar.gz
| Download URL | streamlit_cld_video_player-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7d22565a1314f636480a00d92d2ed793a98cab181465164afcf206fa208bd6b
|
|
BLAKE2b-256 checksum How to use checksums |
932a690153b1c7eb208b257bec0b7f2e904e563354188a453ed64fc61cbef3be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / streamlit_cld_video_player-0.1.0-py3-none-any.whl
| Download URL | streamlit_cld_video_player-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c5b58d320802b2a241a2a479bdfa1fbc069f7ed06c449c9dde239dd78c60e6f
|
|
BLAKE2b-256 checksum How to use checksums |
4bc247383627026d9be3338e02f6a8bbc65ab2f11e8407c63b1718b9b64b7a19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Security for streamlit-cld-video-player 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.