Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webdad/webplayer
Branded for Feierwerk, this Player shows live data and plays an audio-stream.
https://github.com/webdad/webplayer
Last synced: about 2 months ago
JSON representation
Branded for Feierwerk, this Player shows live data and plays an audio-stream.
- Host: GitHub
- URL: https://github.com/webdad/webplayer
- Owner: WebDaD
- Created: 2021-09-22T06:57:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T10:11:47.000Z (over 1 year ago)
- Last Synced: 2024-03-27T00:52:20.531Z (9 months ago)
- Language: JavaScript
- Size: 352 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Web Player
Branded for [Feierwerk](https://www.feierwerk.de/), this Player shows live data
via Sockets from an API ([turboplayer2sockets](https://hub.docker.com/r/dsigmund/turboplayer2sockets))
and plays an audio-stream## Config and Deployment
The Config shall be done via Environment Variables:
- API: Backend Server with Sockets and REST
- STREAM_MP3_1: First mp3 Stream for the player (Default: https://live.feierwerk.de:8443/live.mp3)
- STREAM_MP3_2: Second mp3 Stream for the player (Default: http://live.feierwerk.de:8000/live.mp3)
- STREAM_OGG_1: First ogg Stream for the player (Default: https://live.feierwerk.de:8443/live.ogg)
- STREAM_OGG_2: Second ogg Stream for the player (Default: http://live.feierwerk.de:8000/live.ogg)Deploy it with the variables.
Example
```sh
docker run \
--env API="${WP_API}" \
--name webplayer \
--restart unless-stopped \
-p "${WP_PORT}":80 \
-d webplayer:latest
```