Knowledge Base / Radio Growth & Players
Fixing CORS Errors When Fetching Stream Metadata for Custom Web Players
Updated 3 December 2026
If you build a custom JavaScript radio player that fetches status-json.xsl or stats?json=1 directly from a streaming port, browsers may block the request with a CORS (Cross-Origin Resource Sharing) error.
Clean Fix on ForceSP Web Hosting
Use the built-in SonicPanel/WHMSonic HTTPS widget endpoints, or host a tiny 10-line PHP proxy script on your ForceSP cPanel Web Hosting account that caches the track title for 10 seconds and serves it cleanly from your own domain.