Initial: folxplay.tv clone with JW promos, no AdSense
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
# folxplay-clone
|
||||
|
||||
Clean rebuild of folxplay.tv — same look as the original, but **without
|
||||
Google AdSense, Google Analytics, Funding Choices, or any third-party
|
||||
tracking**. Channel videos play promo clips served from JW Player Cloud.
|
||||
|
||||
- **Live:** https://folxplay.biba.live
|
||||
- **Original:** https://folxplay.tv
|
||||
|
||||
## Stack
|
||||
|
||||
- Vanilla JS SPA (no build step, no framework)
|
||||
- Shaka Player 4.x for HLS playback (loaded from jsDelivr)
|
||||
- nginx static hosting (Docker)
|
||||
- JW Player Cloud (site `KR6L8XQG`) for the channel promos
|
||||
|
||||
## Channels and JW media IDs
|
||||
|
||||
| # | Channel | JW media ID | Duration |
|
||||
|---|---|---|---|
|
||||
| 1 | One Music TV | `CBM2fSnV` | 71 s |
|
||||
| 2 | Zwei Music TV | `LZVUn3Qy` | 76 s |
|
||||
| 3 | Folx Music TV | `UYU6dx3Q` | 60 s |
|
||||
| 4 | Adria Music TV | `lI4SC7Do` | 53 s |
|
||||
| 5 | Folx Slovenija | `aoCWwwSg` | — |
|
||||
| 6 | One Adria Music TV | `IGOSgmvW` | 71 s |
|
||||
|
||||
To swap a promo for a live stream later, edit
|
||||
`public/app.js → CHANNELS[].jw` (or replace the `JW_HLS()` helper with
|
||||
the production stream URL).
|
||||
|
||||
## Local dev
|
||||
|
||||
```bash
|
||||
cd public
|
||||
python3 -m http.server 8080
|
||||
# open http://localhost:8080
|
||||
```
|
||||
|
||||
## Build & run
|
||||
|
||||
```bash
|
||||
docker build -t folxplay-clone .
|
||||
docker run -p 8080:80 folxplay-clone
|
||||
```
|
||||
|
||||
## Deploy
|
||||
|
||||
Coolify reads this repo, builds the Docker image, and serves it on
|
||||
`folxplay.biba.live` via the wildcard `*.biba.live` (already pointed at
|
||||
openclaw1).
|
||||
|
||||
## What was removed compared to the original
|
||||
|
||||
- `<script src="googletagmanager.com/gtag/js?id=G-1HF0NT0FBR">` — GA4 tag
|
||||
- `<script src="pagead2.googlesyndication.com/.../adsbygoogle.js">` — AdSense
|
||||
- The `<ins class="adsbygoogle">` ad slot (slot id `8928661853`)
|
||||
- Funding Choices / TCF consent dialog
|
||||
- Cloudflare Insights beacon
|
||||
- The `Top 10 this week` widget (depended on `console.folxplay.tv`)
|
||||
- The Artists list (depended on `console.folxplay.tv`)
|
||||
- The Channel PlayLog (depended on `console.folxplay.tv`)
|
||||
|
||||
## Notes
|
||||
|
||||
- The site has `Channels` widget instead of `Top 10 this week` — it lists
|
||||
the six channels and clicking any of them plays its promo.
|
||||
- The Channel PlayLog page shows a small note pointing back to the
|
||||
production site.
|
||||
Reference in New Issue
Block a user