How about live audio stream for music?
-
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.
-
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.
-
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.