Jump to content

Hey all!

 

Sadly Spotify is blocked at my workplace, we are however allowed to listen to music while working (I can't find the logic in that combination of descisions either). So naturally I decided to start building my own 'streaming' service, where I can upload and then listen to my own music. Since I have a webserver at my disposal and I want to be able to access my music everywhere, the whole thing will be web based.

 

And here are my questions then:

Do you guys now any good audio libraries for websites? And what file format would you recommend I'd use (quality vs. size is important for that one).

 

Thanks in advance!

75% of what I say is sarcastic

 

So is the rest probably

Link to comment
https://linustechtips.com/topic/1057808-audio-libraries-for-the-web/
Share on other sites

Link to post
Share on other sites

Have you heard about HTML 5?

Most browsers support MP3, AAC (MP4A), Opus, FLAC , OggVorbis , others ... see https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

 

You can use the audio or video html 5 tags or you can use any free html 5 media player script ... place the script in the page and feed it a bunch of links to audio on your server

 

See for example plyr  : https://plyr.io/#audio or jplayer : http://jplayer.org/latest/demos/

Here's some more players : https://www.shoutmeloud.com/best-html5-audio-players.html

and most video players should also be able to play audio only files.

Link to post
Share on other sites

19 hours ago, mariushm said:

Have you heard about HTML 5?

Most browsers support MP3, AAC (MP4A), Opus, FLAC , OggVorbis , others ... see https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

 

You can use the audio or video html 5 tags or you can use any free html 5 media player script ... place the script in the page and feed it a bunch of links to audio on your server

 

See for example plyr  : https://plyr.io/#audio or jplayer : http://jplayer.org/latest/demos/

Here's some more players : https://www.shoutmeloud.com/best-html5-audio-players.html

and most video players should also be able to play audio only files.

I know about the HTML audio player, but cross browser compatability isn't great and I was curious if there were any libraries with more functionality etc.

75% of what I say is sarcastic

 

So is the rest probably

Link to post
Share on other sites

Why not simply using VLC and connect to your stream ? I have my toaster music server at home that stream my music and i connect with my phone with VLC for android or my laptop with full VLC. I prefer phone as it connect bluetooth with the sound bar in my office.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×