Author Topic: GUIDELINES - Embedding MP3 audio in the forum post. How to.  (Read 1979 times)

Offline MacTron

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 1934
  • keep it simple
To embed an MP3 audio on on a forum post, first we need a link  (URL) to the MP3 file that we want to embed. This link can point to a direct link of a MP3 file out of this forum, or we can point to a mp3 file attached to a forum post.

To point to a mp3 file attached to a forum post we have to made a post whith the MP3 file attached, and oce the post is posted, we can obtain the file URL with the "Copy Link Adress" context menu.

Then we have to paste this HTML code into the mensage:

Code: [Select]

[html]
<object type="application/x-shockwave-flash" data="http://macos9lives.com/smforum/audioplayer/audio-player.swf?audioUrl=PLACE_HERE_YOUR_MP3_URL" id="audioplayer" height="27" width="400" allowscriptaccess="always">
<param name="movie" value="http://macos9lives.com/smforum/audioplayer/audio-player.swf?audioUrl=PLACE_HERE_YOUR_MP3_URL" /><param name="FlashVars" value="" />
<param name="quality" value="high" /><param name="menu" value="false" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /></object>
[/html]

Replacing PLACE_HERE_YOUR_MP3_URL with your MP3 file link (URL) twice.

The thing looks likes this:

Once replaced PLACE_HERE_YOUR_MP3_URL whith the URL link http://k007.kiwi6.com/hotlink/8et9gzmurg/1-Faiado.MP3.mp3 of my piano solo song placed on Kiwi6.com

This player is based on a old MP3 Adobe Flash player, so is far from perfect, but works acceptably well on Clasilla for Mac Os 9!

... and in  Epiphany (Linux), Safary (Mac Os X), Explorer (Windows) and Firefox PC. It doesn't work on Android default browser and Safary for iOs.

So Flash player plugin must be instaled and working. Sometimes it is necessary to wait a few seconds untill the sound starts (in a few cases up to 20 sec). In some occasions, closing and reopening a page must be needed.

And some tecnical improvements are still needed...

Enjoy!

« Last Edit: November 22, 2014, 03:59:04 PM by DieHard »
Please don't PM about things that are not private.

Offline MacTron

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 1934
  • keep it simple
Re: GUIDELINES - Embedding MP3 audio in the forum post. How to.
« Reply #1 on: May 23, 2015, 07:17:56 AM »
Now that I have left the administration task, I have realized that this trick is only available to admins. Because it uses advanced HTML tags and the users only can use basic HTML tags.

Ok, there is a way to enable the use of advanced HTML tags to everybody ... but is too complex.
Please don't PM about things that are not private.

supernova777

  • Guest
Re: GUIDELINES - Embedding MP3 audio in the forum post. How to.
« Reply #2 on: May 23, 2015, 07:19:16 AM »
yep i tried and failed to do this when u originally posted..
i guess i forgot to report that it didnt work for me.
whats needed is for the admin to incorporate the appropriate BBCode (in the same fashion as the "youtube" button was made by me)

Offline MacTron

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 1934
  • keep it simple
Re: GUIDELINES - Embedding MP3 audio in the forum post. How to.
« Reply #3 on: May 23, 2015, 09:20:10 AM »
In this case the solution is more complex I guess.

So... I'm going to ask an admin to paste the html code to my post :)
Please don't PM about things that are not private.