vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   BB Code Enhancements - Embed MP3 in post using flash player (https://vborg.vbsupport.ru/showthread.php?t=170794)

Keesa 07-21-2008 12:23 PM

Working fine on my 3.7.2 on Firefox, Opera and IE7.

AWESOME. Really cool for a band fanclub like ours.

:up::up::up::up::up:

Chadi 07-27-2008 04:06 AM

edit: my mistake, never mind sorry

BondhuMela 07-30-2008 06:42 AM

I installed, working excellent with vB3.7.2

many thanx

RFViet 07-31-2008 01:03 AM

Good job !!

vbboarder 08-17-2008 03:36 AM

Thanks for this great mod! Will you be updating this mod to work with the new audio player 2.0? It's available at: http://wpaudioplayer.com/

realmr 08-18-2008 07:43 AM

does it cause slowing down of forums ? Will it cause any queries to be run ?

PAKIDIL 08-21-2008 09:20 PM

can u make to work it with .flv ?

jalmz 08-22-2008 11:00 PM

it works like a charm.. thanks

Wsh 08-25-2008 02:48 PM

I'm wondering if theres anyway to hide the URL of the mp3? I love the idea of the script, however I'm afraid that people are just going to rip the links and hotlink it.

thanks.

majordork82 09-24-2008 02:49 AM

With this current version I have, it will not support hiding of the url. You shouldn't have an issue though. Now a days it's very hard to hide things on the net.

Quote:

Originally Posted by vbboarder
Thanks for this great mod! Will you be updating this mod to work with the new audio player 2.0? It's available at: http://wpaudioplayer.com/

I hadn't planned on it but I am working on a rating BB code ;)

Quote:

Originally Posted by realmr (Post 1601256)
does it cause slowing down of forums ? Will it cause any queries to be run ?

It does not require a connection to a database or a database implementation :)

Quote:

Originally Posted by PAKADIL
can u make to work it with .flv ?

Not at this time, maybe in the future. :)

vbob 11-14-2008 11:49 AM

Great mod. I would like a little bit help though.
I want to embed the mp3 using the [attach]xxx[/attach] tag so the users can only see the player and not the attach link.

I know that in our times it is hard to prevent the downloading, but it is exactly what I want.

Let me be more specific.
1. The user Create New Thread/post
2. The user upload the mp3 attachment. (now the url of the attachment is something like this:
Code:

http://mysite.com/forum/attachment.php?attachmentid=xxxxx&d=xxxxxxxxxxxxx
3. The user uses copy/paste and paste the above url inside his post.
Then he select the url he just pasted and press the mp3 bbcode button.
The result is this:
Code:

[mp3]http://mysite.com/forum/attachment.php?attachmentid=xxxxx&d=xxxxxxxxxxxxx[/mp3]
I want the user to be able to follow the above if he want to "share for downloading" his mp3. Ok until now, everything is working great. The player appears and below it is the link to download the file.

If the user want just to put it in the post for other user to hear it only with the player, then, like in the [attach]XXXX[/attach] method, the attachment is placed between the text and the url in the end of the post disappears...!!! Thats what I want. I want a bbcode to be able to play the mp3 attachment using the below bbcode so the mp3 link "disappear" and only the flash player is available.
Here is what I want:
Code:

[mp3][attach]XXXXX[/attach][/mp3]
Could you help me with that?
How can I do it?

Leo Brazil 11-14-2008 12:57 PM

Quote:

Originally Posted by vbob (Post 1665496)
If the user want just to put it in the post for other user to hear it only with the player, then, like in the [attach]XXXX[/attach] method, the attachment is placed between the text and the url in the end of the post disappears...!!! Thats what I want. I want a bbcode to be able to play the mp3 attachment using the below bbcode so the mp3 link "disappear" and only the flash player is available.
Here is what I want:
Code:

[mp3][attach]XXXXX[/attach][/mp3]
Could you help me with that?
How can I do it?

This is an interesting idea, I'd use that too. :up:

Thelonius Beck 01-02-2009 09:35 PM

OK folks.

I couldn't make this (or anything similar) work for the life of me. Then I had an epiphany.

Having already installed MP3 Player in Profile, the 1pixelout flash player already existed on my server! Therefore, for whatever reason, calling the new one wouldn't work.

So I simply changed all of the file paths in the replacement code to that of my existing player. VOILA!

I removed the duplicate player from my server, and I'm pleased as punch.

Hope this helps somebody out. ;)






*Installed*

Nwq 01-11-2009 10:24 AM

download link :( pleas

ArnyVee 01-11-2009 01:03 PM

Nwq, what download link are you looking for? The download link for the player is in the 1st post (description of mod).

Ceaseless Skies 01-13-2009 09:01 PM

Thanks so much--this looks great in my podcasting sub-forum!

powersilie 01-31-2009 12:14 PM

Thank you so much, it works great with vB 3.8.1

TOP!

greetings
Karin

chikkoo 03-31-2009 01:16 PM

Can someone kindly elobrate this trick. How to do it?

I am trying to post 10 parts of one album.


Quote:

Originally Posted by elmati (Post 1447676)
as i see we cant use more than 1 player in the same page...

i need to use options to use 1, 2, 3, 4 player in the same post :P
for this: id="audioplayer{option}

[mp3=1]url1.mp3[/mp3]
[mp3=2]url2.mp3[/mp3]
[mp3=3]url3.mp3[/mp3]

and if i just want to use one player i got and error :P

im trying to find a way...


h2ck3r 04-07-2009 10:30 AM

It works with the latest 2.0, just download from http://wpaudioplayer.com and replace the old files =)

And it is possible to have more then 1 player =) no options or anything needed.. just

[mp3]http://test.net/mp3/test1.mp3[/mp3]
[mp3]http://test.net/mp3/test2.mp3[/mp3]

Exstedt 04-15-2009 02:15 PM

I can only get one song to work at a time, and that's by adding the link to that song within the BB code.

I needed to show two songs, so I had to make a new BB code, the same as the first, but with a different url within the BB code.

It has worked out great on Internet Explorer, but on FireFox the songs get ruined and distorted. Anyone else experiencing this? Thank you.

soash 06-04-2009 06:21 PM

I get absolutely NOTHING from this!

I've copied the code, made the mods for my own site - and when I run it, I get an empty post.

Is it a problem with the code, or a problem with the file I am trying to load??

Any ideas??

barcena 06-25-2009 03:17 AM

Sorry, wrong thread.

ricardoNJ 10-12-2009 03:46 AM

Thanks!

Kingdombuilder 10-23-2009 05:45 AM

I had alittle trouble at first but i did not have the path correct. Once i got that straight it was all good. Thanks!!

Great hack!! Keep them coming...

MagicThemeParks 10-23-2009 12:36 PM

Works great on 3.8.4 :up:

Here's a link to a demo (scroll the the bottom of the first post): Disney Magic Kingdom Forums

MagicThemeParks 10-25-2009 02:36 AM

Just used this HOW TO GUIDE in order to change the colors and it's working great! :D

Also using the information from this page to show the code on custom pages such as this one: Disney's Magic Kingdom Attraction Page

Driven By Shine 10-25-2009 09:06 AM

Thanks magicthemeparks,

Hi I am new at all this yet have managed to install quite a few mods to my VB forum. But I am having a few problems with this one.

I seem to have it working fine if I upload the mp3 file to the server, I thought this was ment to work from any mp3 url. Have I got it wrong.????

At the bottom of this page there are two examples and the one on the net just keeps buffering.

http://www.paintcorrection.org/forum....php?t=13&p=48

I have read here that a few have had similar issues, could anyone shed some light on this.

The only thing I can think of is where I installed the files.

would this be correct "/public_html/forum/audio"

or should it be "/public_html/audio"

or "/audio"

"audio" being the files with the player.

Or do I just have it totally wrong and should stick to car detailing LOL

Can anyone help point me in the right direction.

Thanks

Chris

MagicThemeParks 10-25-2009 11:47 AM

I noticed that the 2nd test post you made worked. Congrats! :up:

From what I understand, you can't use two mp3s in the same post like you did in the first post. I remember reading about having to have the 2.0 version of the audio software before being able to do that. That might be it.

Driven By Shine 10-25-2009 11:58 AM

Quote:

Originally Posted by MagicThemeParks (Post 1905855)
I noticed that the 2nd test post you made worked. Congrats! :up:

From what I understand, you can't use two mp3s in the same post like you did in the first post. I remember reading about having to have the 2.0 version of the audio software before being able to do that. That might be it.

The two that work have been uploaded to my host. LOL But thanks

I also thought I couldnt do two in a post and have had just the one but still no difference.

Ive had both of the files on my host in the same post and they both work,

but Im not sure anymore.

You will be able to help me though with this, how do i follow the instructions you put up in regards to the colours and inserting the code with "no hard returns"

Chris

MagicThemeParks 10-25-2009 12:45 PM

I can help you with the colors, no problem :)

Edit the BBCode and be sure and place all of these adjustments to the colors where you see the RED text and with no spaces or line breaks.....

Code:

<script language="JavaScript" src="http://www.yourhost.com.com/audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.yourhost.com/audio/player.swf" id="audioplayer4" height="24" width="290">
<param name="movie" value="http://www.yourhost.com/audio/player.swf">
<param name="FlashVars" value="playerID=4&amp;RIGHT_HEREsoundFile={param}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>


....where I placed "RIGHT_HERE", simply place the codes for the different areas of the player that you'd like to adjust. You can also control the autoplay or loop features of the player as well. Here are the codes...

Code:

bg=0xf8f8f8&amp;
leftbg=0xeeeeee&amp;
lefticon=0x666666&amp;
rightbg=0xcccccc&amp;
rightbghover=0x999999&amp;
righticon=0x666666&amp;
righticonhover=0xffffff&amp;
text=0x666666&amp;
slider=0x666666&amp;
track=0xFFFFFF&amp;
border=0x666666&amp;
loader=0x9FFFB8&amp;
loop=no&amp;
autostart=no&amp;

....you can include as many or few of those options as you'd like. Check out the diagram on the page I listed to see which areas to change. Good luck! :up:

Driven By Shine 10-25-2009 12:53 PM

Awesome, thanks heaps. Got the colours sorted.

Now just to work out the original problem playing mp3's from a URL. and not having to host the file.

Thanks again for all your help.

Does yours work via a URL wrapped in tags mp3 tags[][/]

Chris

MagicThemeParks 10-25-2009 12:59 PM

I just place the URL (no matter where it is hosted) within the mp3 tags and it works. Not sure if you edited the code in some way.

On my custom pages like this one.... Walt Disney World - Magic Kingdom Attractions .... I had to hardcode the url into the code and using this code ...

Code:

<script language="JavaScript" src="http://www.fakedomain.com/myname/audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.fakedomain.com/myname/audio/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.fakedomain.com/myname/audio/player.swf">
<param name="FlashVars" value="playerID=audioplayer1&soundFile=http://www.fakedomain.com/myname/audio/music.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>


....from this page: http://www.macloo.com/examples/audio_player/index.html

Driven By Shine 10-25-2009 01:11 PM

I wonder what I have done wrong then, I think I'll have to sleep on it and try again when I'm fresh. I did just notice you have. Slightly different code then me. Audioplayer1 or something like that I don't have that in my code.

Thanks heaps for your help so far.

I'll let you know how I go tomorrow.

Chris

MagicThemeParks 10-25-2009 01:33 PM

Chris, what's the mp3 file URL that you're using and I'll test it on my site. Have a goodnight!

Driven By Shine 10-25-2009 08:38 PM

<a href="http://www.supload.com/listen?s=LCr6bv" target="_blank">http://www.supload.com/listen?s=LCr6bv</a>

good idea I didn't even think that the link might be wrong. Here it is above. I didn't include the mp3 wraps although I do have them on my site.

Do you have a working URL I can also test.

Many thanks once again

chris

MagicThemeParks 10-25-2009 10:54 PM

Chris, that's not an mp3 file. Did you download it and change it to an mp3 file and then upload it on your own site?

Driven By Shine 10-26-2009 12:32 AM

Here is what I did.

We made the video you find on my thread from You tube, I then used a you tube to mp3 convertor to create the mp3 file. Then i googled audio hosting and found "supload.com" so i uploaded the mp3 file to their site. The URL that comes up when its playing through supload is http://www.supload.com/listen?s=LCr6bv, so its not a mp3 file but wouldnt it be the mp3 URL

The links that work are the same mp3 files uploaded to my hosting server, I have done nothing extra to them.

Maybe I just have this totally wrong.

As embarrassing :o:o as it is to ask, what does a mp3 URL look like and where can I find one :erm:??

Again thanks for your efforts in helping me sort this out.:up:

Chris

MagicThemeParks 10-26-2009 01:03 AM

Chris, as far as I'm aware, it has to be a URL that ends in ".mp3"

So, it would be "http://www.exampledomainname.com/audio/examplemusic.mp3" and that should work. So, instead of uploading it somewhere to save on bandwidth, you're going to have to upload it to your own server (or another service that will still allow the .mp3 in the URL) and use it that way.

I'm not 100% sure, but someone else may be able to jump in and answer that one for you. :)

Driven By Shine 10-26-2009 01:29 AM

I finally got it sorted, seems it was working all along, stupid me just wasnt using the correct URL's

I tried many different audio hosting sites, but the one i got it to work with was www.hotlinkfiles.com

Thank you to everyone, your help is............... well very helpful.

Thanks again

Chris

Driven By Shine 10-26-2009 01:36 AM

Quote:

Originally Posted by MagicThemeParks (Post 1906192)
Chris, as far as I'm aware, it has to be a URL that ends in ".mp3"

So, it would be "http://www.exampledomainname.com/audio/examplemusic.mp3" and that should work. So, instead of uploading it somewhere to save on bandwidth, you're going to have to upload it to your own server (or another service that will still allow the .mp3 in the URL) and use it that way.

I'm not 100% sure, but someone else may be able to jump in and answer that one for you. :)

You are correct as far as i can see, i did try to manually insert the .mp3 but still no good but this hotlinkfiles.com works a charm, so its all good.

Thanks again for you patience with me.

Chris


All times are GMT. The time now is 12:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02645 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete