π§ CMG FM Stream Player β Documentation
CMG FM Stream Player is a WordPress plugin designed to stream your FM radio with Icecast. It shows live stream, now playing track, and listener count. Everything is customizable from the WordPress admin panel.
π§ Installation
- Download the plugin ZIP fileΒ Download
- Go to Plugins β Add New β Upload Plugin
- Upload
cmg-fm-stream-player.zipand click Install Now - Activate the plugin
- Go to CMG FM Player β Settings and configure
βοΈ Settings
| Setting | Description |
|---|---|
| Stream URL | Your Icecast MP3 stream (e.g., http://yourdomain.com:8000/stream) |
| Status JSON URL | JSON endpoint for live metadata (e.g., /status-json.xsl) |
| Logo URL | Station or FM Logo image link |
| Title | Name of the stream or show |
π Shortcode
To embed the player, use this shortcode in any post or page:
![]()
π΅ ποΈ City FM β ΫΨ± Ψ΄ΫΨ± Ϊ©Ϋ Ψ’ΩΨ§Ψ²
πΆ Loading current track...π₯ Listeners: loading...Developed by City Media Group Pvt Ltd
π‘ REST API
You can also fetch metadata using the REST endpoint:
/wp-json/cmg-fm/v1/listener-data/
π Troubleshooting
- Ensure CORS is allowed on your Icecast server
- Browsers may block autoplay unless user interaction occurs
- Use HTTPS for secure playback on modern browsers
π¨βπ» Developer Info
Developed by City Media Group Pvt Ltd