CasterClub Web Player Documentation
๐ง CasterClub WebPlayer
Version: 2.0.2b
Release Date: TODAY :)
๐งช Browser Compatibility
For the best experience on yp.casterclub.com, we recommend using the latest version of Firefox.
- โ Firefox โ Best performance on macOS, Linux, and Windows
- ๐ก Brave, Chrome, Vivaldi โ Functional, but may have media autoplay or cross-origin restrictions
- ๐ฅ Safari and Edge โ May require additional permissions or settings for audio playback
Firefox provides the most consistent support for Icecast streaming, embedded HTML5 audio, and CORS handling across all major platforms.
๐ฏ Overview
The CasterClub WebPlayer is a modern HTML5 audio interface purpose-built for Icecast-based radio stream playback. It supports real-time VU metering, mount point selection, and fully dynamic status polling with song history and status logging, offering users a seamless broadcast experience in the browser.
๐ ๏ธ What's New in 2.0.2b
๐ Player Interface Enhancements
- Increased "Now Playing" status font to 16px, and the song title to 14px for visibility
- Improved VU meter stability by fixing
.vu-rms-value
container width - Static decibel readout area prevents visual jitter in the bars
๐ถ Song Title Streaming Fixes
- Polling interval to
status-json.xsl
increased from 5s โ 13s to reduce load - Improved song title detection: now only updates when a true title change is confirmed
- Fixed issue where previous songs reappeared due to polling race conditions
- Updated window title to reflect the currently playing title without flicker
๐ Song History Improvements
- Song history expanded to 15 songs per session
- Entries now show:
- Full timestamp in
d/m/Y - h:i:s AM/PM
format - Bold timestamp, regular station + song
- Numbered list for readability
- Full timestamp in
๐ง Mount Selector Enhancements
- Each dropdown entry now shows:
- ๐ข/๐ด Online/offline dot
- AutoDJ or Live
- Mount number + exact filename
- Format, bitrate, listener stats
- All entries reflect current mount accurately with no HTML-in-
<option>
issues
๐ Event Log Console
- Event Log tab now receives:
- Tab change logs
- Play/Pause/Stop/Volume/Reload events
- Song title change events
- Mount switch messages
- Unified timestamp format on all events
- One log tab per mount index (scoped correctly)
๐งญ Tab System Overhaul
- Fully tabbed layout below player:
- Status
- Server Information
- Station Details
- Song History
- Event Log
- Clean separation between data panes for clarity
๐ Compatibility & Proxy Issues
- SSL Certificate Issues: Some Icecast servers still use self-signed or expired SSL certs, causing playback failures or blocking in Chrome-based browsers. Firefox handles these more gracefully.
- CORS Problems: Older Icecast versions do not send proper
Access-Control-Allow-Origin
headers, which may prevent status polling, title updates, or mount switching from working in modern browsers. - Cache Expiry Bypass: New updates ensure that polling requests include cache-busting parameters to bypass stale results, especially on long uptime servers.
- Proxy Requirements: To support strict HTTPS clients, backend NGINX or Apache servers should implement
proxy_pass
with rewritten headers andproxy_set_header
directives forOrigin
,Host
, andReferer
. - Forward Compatibility: Player is being prepped for integration with secure reverse proxies and certificate pinning methods to ensure reliable streaming even on Chrome, Safari, and Edge.
๐ Session Integration
- Stream metadata and song history are session-persistent
- PHP sessions initialized cleanly at top of script
- IcecastParser now supports session caching of parsed data
๐ Known Issues
- No full mobile responsiveness yet (planned in 2.0.3b)
- Mount detection via basename may fail for complex URL schemes
- Lyrics and album art support not yet implemented
๐ License
Private build under internal review. Not for public redistribution or embedding until production release.