2022-12-24 18:30:54 +00:00
|
|
|
|
2023-06-18 21:49:17 +00:00
|
|
|
# HTML5 Internet Radio Player
|
|
|
|
|
|
2023-07-12 07:14:04 +00:00
|
|
|
This is a fork of [https://github.com/gsavio/player-shoutcast-html5](https://github.com/gsavio/player-shoutcast-html5)
|
2023-06-18 21:49:17 +00:00
|
|
|
|
|
|
|
|
# Documentation.
|
|
|
|
|
|
|
|
|
|
Open The [Script.js](https://github.com/joeyboli/html5-shoutcast-icecast-zeno-player/blob/main/js/script.js) file and edit the lines Below.
|
|
|
|
|
|
|
|
|
|
```javascript
|
2023-06-21 20:28:06 +00:00
|
|
|
// RADIO NAME
|
2023-06-18 21:49:17 +00:00
|
|
|
const RADIO_NAME = 'Game! Radio 1';
|
|
|
|
|
|
2023-06-21 20:28:06 +00:00
|
|
|
// SELECT ARTWORK PROVIDER, ITUNES, DEEZER & SPOTIFY. eg : spotify
|
2023-06-18 21:49:17 +00:00
|
|
|
var API_SERVICE = 'DEEZER';
|
|
|
|
|
|
|
|
|
|
// Change Stream URL Here, Supports, ICECAST, ZENO, SHOUTCAST, RADIOJAR and any other stream service.
|
2023-06-21 20:28:06 +00:00
|
|
|
const URL_STREAMING = 'https://stream-51.zeno.fm/cfhkm5fs1uhvv?zs=HOu6hxV1SG-7iGi9WGVTqQ';
|
|
|
|
|
|
|
|
|
|
//PASTE YOUR MEDIA CP JSON URL HERE TO GET NOW PLAYING SONG TITLE.
|
|
|
|
|
const MEDIACP_JSON_URL = ''
|
|
|
|
|
|
|
|
|
|
//API URL / if you use MEDIA CP, CHANGE THIS TO : https://api.streamafrica.net/metadata/mediacp.php?url='+MEDIACP_JSON_URL
|
|
|
|
|
const API_URL = 'https://api.streamafrica.net/metadata/index.php?z='+URL_STREAMING
|
2023-06-18 21:49:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Change Logo.
|
|
|
|
|
|
|
|
|
|
Open The img folder and add your logo named "cover.png"
|
|
|
|
|
|
|
|
|
|
|
2022-12-24 18:35:28 +00:00
|
|
|
|
2023-06-18 21:49:17 +00:00
|
|
|
## Demo Screenshots
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
2023-07-25 01:33:25 +00:00
|
|
|
## Supported Hosting Types
|
2023-07-25 01:36:13 +00:00
|
|
|
* Icecast / Shoutcast
|
|
|
|
|
* Zeno Radio
|
|
|
|
|
* RadioJar
|
|
|
|
|
* Azuracast
|
|
|
|
|
* Centova Cast
|
|
|
|
|
* Everest Cast
|
|
|
|
|
* MediaCP
|
|
|
|
|
* Sonic Panel
|
2023-08-06 03:01:28 +00:00
|
|
|
* [JoeyCast](https://joeycast.com)
|
2023-07-25 01:36:13 +00:00
|
|
|
|
2023-08-06 03:01:28 +00:00
|
|
|
## Supported API/Data Sources
|
2023-07-25 01:36:13 +00:00
|
|
|
* Apple Music / Itunes
|
|
|
|
|
* Deezer
|
|
|
|
|
* Spotify
|
2023-08-13 20:42:47 +00:00
|
|
|
* SoundCloud
|
|
|
|
|
* BandCamp
|
|
|
|
|
* Azuracast
|
|
|
|
|
* MediaCP
|
2023-07-25 01:33:25 +00:00
|
|
|
|
|
|
|
|
|
2023-06-18 21:49:17 +00:00
|
|
|
## Feedback
|
|
|
|
|
|
2023-06-21 20:28:06 +00:00
|
|
|
If you have any feedback, please reach out to me at bankuboy@pm.me
|
2023-06-18 21:49:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
[MIT](https://github.com/gsavio/player-shoutcast-html5/blob/master/LICENSE)
|
|
|
|
|
|