Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/okld/streamlit-player

A streamlit component to embed video and music players from various websites.
https://github.com/okld/streamlit-player

demo media-player player-video python react-player streamlit streamlit-component streamlit-player video-player

Last synced: 14 days ago
JSON representation

A streamlit component to embed video and music players from various websites.

Awesome Lists containing this project

README

        

# 🎬 Streamlit Player

[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link]

## Installation

```sh
pip install streamlit-player
```

## Getting started

```python
from streamlit_player import st_player

# Embed a youtube video
st_player("https://youtu.be/CmSKVW1v0xM")

# Embed a music from SoundCloud
st_player("https://soundcloud.com/imaginedragons/demons")
```

## Demo

[![Open in Streamlit][share_badge]][share_link]

[![Preview][share_img]][share_link]

[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg
[share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=react-player
[share_img]: https://raw.githubusercontent.com/okld/streamlit-player/main/preview.png

[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/okld/streamlit-player

[pypi_badge]: https://badgen.net/pypi/v/streamlit-player?icon=pypi&color=black&label
[pypi_link]: https://pypi.org/project/streamlit-player