Web Connection
play .mp3 files
Gravatar is a globally recognized avatar based on your email address. play .mp3 files
  Richard S. Carter
  All
  Mar 15, 2023 @ 07:05am

Is it possible to play .mp3 files through webconnect?

Gravatar is a globally recognized avatar based on your email address. re: play .mp3 files
  Rick Strahl
  Richard S. Carter
  Mar 15, 2023 @ 02:28pm

Define Play .mp3 files...

You can link an MP3 file using plain <a href="https://mydomain.com/music.mp3"> and they will download and you can then play them. If your browser is set up as a player it'll play in the browser.

For example:

Anti-Trust - Fear Factory

On a phone it'll play in browser for example, on a desktop browser it'll download.

If you want to get more fancy you can embed the JavaScript music player into the page and control the play back.

Something like this (I do this on my Anti-Trust music site):

https://anti-trust.rocks/Angry/War-Machine

and on the album page the player at the top that plays all songs with skip/back etc.

https://anti-trust.rocks

Mine is using the built-in player API, but there are also sophisticated JavaScript based music players you can embed into a page.

+++ Rick ---

© 1996-2024