Metadata-Version: 2.1
Name: streamlit-player
Version: 0.1.2
Summary: A streamlit component to embed video and music players from various websites.
Home-page: https://github.com/okld/streamlit-player
Author: okld
Author-email: 
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: streamlit (>=0.63)

# Streamlit Player

[![Open in Streamlit][share_badge]][share_app] [![PyPI version][pypi_badge]][pypi_link]

## Installation

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

## Quick usage

```python
import streamlit as st
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

Interested to see Streamlit Player in action? You can try it out now in [Streamlit Sharing][share_app]!

You can [click here][share_src] to see how the demo work.

[![Demo preview][share_img]][share_app]


[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg
[share_app]: https://share.streamlit.io/okld/streamlit-player-demo/main/app.py
[share_src]: https://github.com/okld/streamlit-player-demo/blob/main/app.py
[share_img]: https://raw.githubusercontent.com/okld/streamlit-player-demo/main/app.png

[pypi_badge]: https://badge.fury.io/py/streamlit-player.svg
[pypi_link]: https://pypi.org/project/streamlit-player


