Initial version of lo-fi internet radio (not synced between users yet!)
html page with audio tag to play internet radio channel in discord activity.
- Create your app in https://discord.com/developers/applications
- Fill in Settings/General Information (icon, name, description, tags)
- Go to Activities/Settings
- Enable Activities [x]
- Go to Activities/Url Mappings
- Set Root Mapping to your server url (where the index.html page is hosted)
- Prefix: (leave empty)
- Target: yourserver.com/something/folder
- Proxy Path Mappings *See info https://discord.com/developers/docs/activities/development-guides/local-development#url-mapping
- *These are for the current web radio url, set your own path mappings if you use different external url!
- Prefix: /radio101
- Target: pub0202.101.ru:8443
- Go to Settings/Installation
- Copy install link (discord provided link)
- Open that link in browser
- Add app to your server or to your user (i tested by adding into server)
- Launch Discord (desktop or web browser)
- Go to your server where you added the app
- Click Server Settings/Apps/Integrations
- Should see your app listed there
- Click Manage
- Add Channels where the app is available
- Close settings
- Now go to that channel
- Press "Activities" button (in the the bottom right corner, next to emoji button)
- It should display your app
- Click the icon, then click Launch!
- Synced playback (admin could control it?)