Author Topic: Embedding MP3 audio  (Read 798 times)

0 Members and 1 Guest are viewing this topic.

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 330
  • Head Honcho
  • Location: Canberra
Embedding MP3 audio
« on: December 06, 2013, 09:31:26 PM »
Dear all

As an early Christmas present, may I re-introduce the embeddable MP3 player.

When you post, click on the "Audio" icon that looks like this:

Between the tags, insert the URL of any MP3 file.

You can extract selections from a long MP3 file using an online MP3 cutter such as http://mp3cut.net.
You can also use iTunes to make selections from an MP3 using the start and end time properties.

Note that GMG will not host the file. The MP3 file already needs to be located on the internet. If you wish to upload your own file, you will need to have some sort of online storage. There are plenty of free ways you can have your own storage. Google Drive and Dropbox are just 2 examples.

The URL link must start with http://  or https://

Here is an example of how it looks and functions:

           

This is a flash-based MP3 player. If you can't see the player above, you will need to download and enable Adobe Flash Player on your browser to see the player and hear the music.

As the player if flash-based, it will not show up on Apple iDevices (iPod,iPhone,iPad).

Let me know what you think
cheers
Rob
« Last Edit: December 08, 2013, 04:15:24 PM by Dungeon Master »
 Macs are better. They just are.

Offline Brewski

  • Global Moderator
  • *
  • Posts: 10469
  • "Man With No Shadow" by Makoto Tojiki (2009)
    • Monotonous Forest
Re: Embedding MP3 audio
« Reply #1 on: December 06, 2013, 09:39:32 PM »
Totally cool, Rob - thanks so much. Will look forward to exploring this feature soon. A nice gift indeed.

--Bruce
No good opera plot can be sensible, for people do not sing when they are feeling sensible.
     ~ W. H. Auden

Monotonous Forest

Twitter: @brucehodgesny

Offline amw

  • Veteran member
  • *
  • Posts: 1003
Re: Embedding MP3 audio
« Reply #2 on: December 06, 2013, 09:53:24 PM »
For whatever reason, the player does not appear to show up in the reply view (either in "topic summary" or "preview"), being just a highlighted patch.

           
Works fine in thread view though. Possibly my browser is still just getting used to it being there.

Lovely feature, thanks.
« Last Edit: December 06, 2013, 09:56:00 PM by amw »

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 330
  • Head Honcho
  • Location: Canberra
Re: Embedding MP3 audio
« Reply #3 on: December 06, 2013, 09:58:43 PM »
For whatever reason, the player does not appear to show up in the reply view (either in "topic summary" or "preview"), being just a highlighted patch.

           
Works fine in thread view though. Possibly my browser is still just getting used to it being there.

Lovely feature, thanks.

Its not your browser. Both the Preview and Topic Summary view are quick views and do not load the flash file player. However, the player will show up in the final post.
 Macs are better. They just are.

Online TheGSMoeller

  • Veteran member
  • *
  • *
  • Posts: 8544
  • Monkey Greg.
Re: Embedding MP3 audio
« Reply #4 on: July 17, 2014, 10:09:25 AM »
Is there a way to embed something from SoundCloud into the MP3 player?

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 330
  • Head Honcho
  • Location: Canberra
Re: Embedding MP3 audio
« Reply #5 on: July 18, 2014, 12:34:50 AM »
Is there a way to embed something from SoundCloud into the MP3 player?

I could probably whip this up, but it would take a few hours of programming work. Is there a big demand for it?

Rob
 Macs are better. They just are.

Online TheGSMoeller

  • Veteran member
  • *
  • *
  • Posts: 8544
  • Monkey Greg.
Re: Embedding MP3 audio
« Reply #6 on: July 18, 2014, 02:12:56 AM »
I could probably whip this up, but it would take a few hours of programming work. Is there a big demand for it?

Rob

Not really a big demand, if any that is, I know a few users have works they post on sound cloud so I was just curious if it could be done with the current format.

Thanks, Rob.

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 330
  • Head Honcho
  • Location: Canberra
Re: Embedding MP3 audio
« Reply #7 on: July 18, 2014, 02:24:58 AM »
Not really a big demand, if any that is, I know a few users have works they post on sound cloud so I was just curious if it could be done with the current format.

Thanks, Rob.

Not possible with the current software - I would have to write a plugin.

I'm off for a few days, but will investigate when I return.

Cheers
Rob
 Macs are better. They just are.

Offline early grey

  • Full Member
  • *
  • Posts: 76
  • Location: london
Re: Embedding MP3 audio
« Reply #8 on: July 21, 2014, 07:56:08 AM »
Experimental test of thread opener

           

Offline early grey

  • Full Member
  • *
  • Posts: 76
  • Location: london
Re: Embedding MP3 audio
« Reply #9 on: July 21, 2014, 08:00:44 AM »
Brilliant !! (not my playing, which I quite like) but the process, which was aided by this

Instructions

1


Upload the MP3 file to your web server. Remember the name of the directory where you put it. A good idea is to place it in a directory called "Music."

2


Open a web browser.


3


Type the exact location of the file, starting with your website address, into the browser address bar. For example, if your website is named "www.example.com," the directory where the file is located is called "Music," and the file is called "song.mp3," the URL would be "http://www.example.com/Music/song.mp3." This URL can be used to link to the MP3 file from within your website or from other websites.

which came from

http://www.ehow.com/how_6139078_make-mp3-file-url.html

enormous thanks to Rob the Dungeon Master, from Clive the sometime pianist





Buying Music From Amazon?
Please consider using these links. A small percentage of every sale using these links is passed on to GMG and helps keep this forum online.
Amazon US
Amazon Canada
Amazon UK