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)

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.


All times are GMT. The time now is 05:46 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.01202 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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