Christmas - Up to 60% off IRC and radio hosting
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.

RELATED SERVICE

Web hosting

From $4.99 per month. See the packages and order online.
See Web hosting

More in Radio Growth & Players

Best Security Practices for SonicPanel, WHMSonic, and DJ CredentialsHow to Embed Your SonicPanel or WHMSonic HTML5 Player in WordPressCreating a Persistent Sticky Player So Music Never Stops While BrowsingWhy Modern Browsers Block Audio Autoplay and How to Design Your Play ButtonDisplaying Automatic Album Cover Art in Your Web and Android Radio PlayersGetting Your ForceSP Online Radio Station on Amazon Alexa and Google Home

← Back to the Knowledge Base