Author Topic: Embedding MP3 files  (Read 19729 times)

0 Members and 1 Guest are viewing this topic.

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 386
  • Head Honcho
  • Location: Canberra
Embedding MP3 files
« on: August 16, 2007, 01:52:40 AM »
You can now embed MP3 files directly into your posts on GMG. The actual file needs to be already hosted somewhere on the internet.

Simply click on the MP3 icon in the posting page (looks like this ) and insert the URL of the MP3 files between the tags.

This it how it looks (click on the Play button to play):
[mp3=200,20,0,center]http://ubu.wfmu.org/sound/stormy/DUKE%20ELLINGTON%20-%20STORMY%20WEATHER.mp3[/mp3]

Note that GMG will not be hosting these files - they need to be already located somewhere on the internet. By embedding them here, we are essentially linking to them, but playing them within the GMG framework.

As for the embedded YouTube links, the MP3 player is Flash based, so you will need Adobe's Shockwave Flashplayer installed in your browser.

Enjoy!
« Last Edit: August 16, 2007, 01:56:19 AM by admin »
 Macs are better. They just are.

Offline Que

  • Global Moderator
  • *
  • Posts: 15074
  • "One HIP dude"
  • Location: The Hague, Netherlands
  • Currently Listening to:
    Still nuts about harpsichord music and exploring Early Music.
Re: Embedding MP3 files
« Reply #1 on: August 16, 2007, 01:54:58 AM »
GREAT!  Many thanks, Rob! :)

Q
À chacun son goût.

Offline Maciek

  • Ban them all!
  • Global Moderator
  • *
  • Posts: 5198
Re: Embedding MP3 files
« Reply #2 on: August 16, 2007, 03:54:15 AM »
Great! 8)

karlhenning

  • Guest
Re: Embedding MP3 files
« Reply #3 on: August 16, 2007, 04:12:25 AM »
Rob, you continue to be Da Man!  :)

Mark

  • Guest
Re: Embedding MP3 files
« Reply #4 on: August 16, 2007, 05:17:04 AM »
A great step forward. Thanks. :)

Offline Que

  • Global Moderator
  • *
  • Posts: 15074
  • "One HIP dude"
  • Location: The Hague, Netherlands
  • Currently Listening to:
    Still nuts about harpsichord music and exploring Early Music.
Re: Embedding MP3 files
« Reply #5 on: August 16, 2007, 05:33:07 AM »
Rob,

I already encountered uncharted territory! :)

What if the AUDIO clip is in Adobe Flash?  :-\

Like here http://www.fugalibera.com/readmorecd.php?cd=243&label=alpha

Works fine when I visit the page and click it, but I can't seem to embed it with the "insert flash" (or the "mp3")....

Q
À chacun son goût.

Offline Maciek

  • Ban them all!
  • Global Moderator
  • *
  • Posts: 5198
Re: Embedding MP3 files
« Reply #6 on: August 16, 2007, 05:54:42 AM »
Q, you need to dig a little deeper: view the page code, and find the mp3 extension - that will give you the file address. See?

[mp3=200,20,0,center]http%3A%2F%2Fwww.fugalibera.com%2Fdata%2Fcds%2F243%2Fclip.mp3[/mp3]

Offline Brewski

  • Global Moderator
  • *
  • Posts: 11806
  • "Man With No Shadow" by Makoto Tojiki (2009)
Re: Embedding MP3 files
« Reply #7 on: August 16, 2007, 06:12:35 AM »
Rob, this is just really cool!  Your continued refinements and enhancements to this board are much appreciated. 

--Bruce
"Do you realize that we're meteorites; almost as soon as we're born, we have to disappear?"

~Iannis Xenakis

Twitter: @BruceHodgesNY

Offline Que

  • Global Moderator
  • *
  • Posts: 15074
  • "One HIP dude"
  • Location: The Hague, Netherlands
  • Currently Listening to:
    Still nuts about harpsichord music and exploring Early Music.
Re: Embedding MP3 files
« Reply #8 on: August 16, 2007, 06:22:42 AM »
Q, you need to dig a little deeper: view the page code, and find the mp3 extension - that will give you the file address. See?

[mp3=200,20,0,center]http%3A%2F%2Fwww.fugalibera.com%2Fdata%2Fcds%2F243%2Fclip.mp3[/mp3]

Maciek, you did it!  :)
I've found the code you used by looking at the details of the "source" - if there is an easier way, please let me know!

BTW I discovered the the buttons of our embedded player are no longer displayed at the middle of the page when the word "center" is removed from the code. They are then displayed at the left of the page, which seems more convenient to me. Like this:

[mp3=200,20,0]http%3A%2F%2Fwww.fugalibera.com%2Fdata%2Fcds%2F243%2Fclip.mp3[/mp3]

Q
« Last Edit: August 16, 2007, 06:29:41 AM by Que »
À chacun son goût.

Offline Maciek

  • Ban them all!
  • Global Moderator
  • *
  • Posts: 5198
Re: Embedding MP3 files
« Reply #9 on: August 16, 2007, 06:25:16 AM »
Maciek, you did it!  :)
I've found the code you used by looking at the details of the "source" - if there is an easier way, please let me know!

No, that was exactly my method - it's just that I'm using a Polish version of my browser and forgot the proper English word (it's "source", not "code", thanks). 8)

Quote
BTW I discovered the the buttons of our embedded player are no longer displayed at the middle of the page when the word "center" is removed from the code. They are then displayed at the left of the page, which seems more convenient to me.

Yes, you can get the same effect by typing "left" instead of "center". I suppose, if you want to irritate someone, you could type in "right"... >:D

mahlertitan

  • Guest
Re: Embedding MP3 files
« Reply #10 on: August 16, 2007, 06:59:28 AM »
good job!

Offline Que

  • Global Moderator
  • *
  • Posts: 15074
  • "One HIP dude"
  • Location: The Hague, Netherlands
  • Currently Listening to:
    Still nuts about harpsichord music and exploring Early Music.
Re: Embedding MP3 files
« Reply #11 on: August 16, 2007, 11:45:59 AM »
OK, I seem to keep struggling! :-\

1. Is it possible to use the embedded player for files uploaded on mediafire?

2. If so, could somebody explain to me how? I couldn't figure it out.

Q :)
À chacun son goût.

mahlertitan

  • Guest
Re: Embedding MP3 files
« Reply #12 on: August 16, 2007, 11:48:48 AM »
OK, I seem to keep struggling! :-\

1. Is it possible to use the embedded player for files uploaded on mediafire?

2. If so, could somebody explain to me how? I couldn't figure it out.

Q :)

no, i don't think so. I upload my music onto the Google page creator

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 386
  • Head Honcho
  • Location: Canberra
Re: Embedding MP3 files
« Reply #13 on: August 16, 2007, 03:39:59 PM »
OK, I seem to keep struggling! :-\

1. Is it possible to use the embedded player for files uploaded on mediafire?

2. If so, could somebody explain to me how? I couldn't figure it out.

Q :)

As long as you can get the URL of the MP3 file, embedding into GMG should be possible.

This works only with MP3 files. Other audio formats (WMA,midi,swf,wav etc) will not work.

 Macs are better. They just are.

Offline Que

  • Global Moderator
  • *
  • Posts: 15074
  • "One HIP dude"
  • Location: The Hague, Netherlands
  • Currently Listening to:
    Still nuts about harpsichord music and exploring Early Music.
Re: Embedding MP3 files
« Reply #14 on: August 16, 2007, 06:08:33 PM »
This works only with MP3 files. Other audio formats (WMA,midi,swf,wav etc) will not work.

That could be the reason it didn't work - I ripped in AAC (iTunes), the code ends with "m4a".
That format isn't supported by the embedded player?

Q
« Last Edit: August 16, 2007, 06:21:16 PM by Que »
À chacun son goût.

Offline Tapio Dimitriyevich Shostakovich

  • Veteran member
  • *
  • Posts: 1252
  • Location: Germany, Ruhrgebiet
  • Currently Listening to:
    Autechre NTS Sessions - Nothing else!
Re: Embedding MP3 files
« Reply #15 on: August 16, 2007, 10:32:37 PM »
Because it makes listening support way easier, this is really great. This way we can discuss certain pieces more easily---

How about the legal sides of file distribution? I'm very sure it's a problem to distribute high quality mp3's at full length. But what's legal? (Germany here)...

1 second? 10 seconds? 30 seconds?
Half of the track? quarter?
Bitrate (cbr)<96? <128? <320?
Bitrate (vbr)<96, 128, 320 average?

Probably no one can answer this question because noone knows exactly about the music industry deseases...

What would you distribute, to be on the safe side?

@Que: The admin said "mp3 files" only. AAC is AAC, not mp3 :) So, go and get the latest lame encoder from http://www.rarewares.org/mp3-lame-bundle.php and a frontend. E.g. foobar2000.org. Put the lame.exe into the foobar2000 directory and use the converter and you are almost done.
« Last Edit: August 16, 2007, 10:35:38 PM by Wurstwasser »

mahlertitan

  • Guest
Re: Embedding MP3 files
« Reply #16 on: August 16, 2007, 10:47:31 PM »

can this handy little thing be tweaked so that it can handle streaming media too?

Greta

  • Guest
Re: Embedding MP3 files
« Reply #17 on: August 16, 2007, 11:53:46 PM »
BTW, what works perfectly for this, and stuff like playing music on MySpace, is the free service FileDen.

Just create an account, upload and grab the URLs.  :)

Testing:

[mp3=200,20,0]http://www.fileden.com/files/2007/4/13/981279/Music/LollapaloozaExcerpt.mp3[/mp3]
« Last Edit: August 16, 2007, 11:55:55 PM by Greta »

Offline Dungeon Master

  • Benevolent Dictator
  • Administrator
  • *
  • *
  • Posts: 386
  • Head Honcho
  • Location: Canberra
Re: Embedding MP3 files
« Reply #18 on: August 17, 2007, 12:16:03 AM »
can this handy little thing be tweaked so that it can handle streaming media too?

This player plays MP3 files as streaming files.
That is, you do not have to wait for the entire MP3 file to download - it will start to play as soon as it has buffered enough, depending on your internet connection speed.
 Macs are better. They just are.

mahlertitan

  • Guest
Re: Embedding MP3 files
« Reply #19 on: August 17, 2007, 12:32:59 AM »
This player plays MP3 files as streaming files.
That is, you do not have to wait for the entire MP3 file to download - it will start to play as soon as it has buffered enough, depending on your internet connection speed.

yes, but Mp3 files are solid chunks, by that i meant that they are a stable source. What i was trying to say was what will happen if the source is not a mp3 file? or it has a different file extension, say Windows Media (WM) or Real Media (RM)?