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: 20 days 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T10:11:47.000Z (almost 2 years ago)
- Last Synced: 2025-04-19T10:40:31.208Z (3 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
```## Build and Push
```sh
podman login docker.io
podman build --platform=linux/amd64 -t dsigmund/webplayer:0.3.24 .
podman build --platform=linux/amd64 -t dsigmund/webplayer:latest .
podman push dsigmund/webplayer:0.3.24
podman push dsigmund/webplayer:latest
```