Hi @esha -- we don't support this out of the box, but this could be something we could build out for you. Contact us at [email protected] for a quote 😄
How about live audio stream for music?
-
Just an idea.... i would like to have btn on and off that would allow live music streaming.
Some kind of radio station for forum users. Is it a good idea or some kind of stupid ? -
Since this NodeBB runs on a VPS/VDS then why not? (might be wrong, but just estimating.)
-
I would like to have a plugin providing that functionality, using a third party service or implemented with some framework like binaryjs.
-
Wow, I was just thinking about adding this to my forum today. I'll let you know what I come up with.
-
Nice
-
Okay, this is actually super easy once I figured out you can use HTML in your navbar text in the ACP already. Just add a standard html5 audio tag and it works like a champ.
In a plugin I added an html5 shim and a settings page in the acp so I could change the stream there. I got to go out right now, but I'll package that part up tonight.
-
AWESOME NEWS ))) Thanks @yariplus
-
https://github.com/yariplus/nodebb-plugin-audio-control
It's for 0.7, I'll add 0.6 support asap.
To set it up, go to the ACP General=>Navigation, and add a custom route to your navbar with an ID of "navplayer" and a route of "#", leave the other fields blank. There is a less file in public/less so you can adjust the styles to your theme.
You need to be logged in to see the player.
When you modify the audio source in the ACP Plugins=>Audio Control page, the clients will load the new source automatically without needing to reload. It won't start playing automatically if the client is paused, but it will if they are already playing.