vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Embedded MP3 Attachment Player (https://vborg.vbsupport.ru/showthread.php?t=240671)

DAMINK 07-05-2010 10:01 AM

Thats working. Although it gave a few errors with that code. Missing some " or so it says.
Anyway it does load up the player now. Only it errors opening the file.
Half way there already though and i assume its something simple now so i will go play with it for a while and see.
Thanks once again AURFSCAN. Appreciated.

SoltanWorld 07-05-2010 10:31 AM

Great I have use this as Mp3 Player BB code too.

Thanks 5star

AURFSCAN 07-05-2010 12:38 PM

1 Attachment(s)
DAMINK make sure the link in between the tags are quoted

for bbcode

DAMINK 07-06-2010 06:42 AM

Quote:

Originally Posted by AURFSCAN (Post 2064779)
DAMINK make sure the link in between the tags are quoted

for bbcode

Yep checked that and that was fine.
I got it working. Actually more accurately it may have been working all along :(
The file size i was using may have been too big. I tried a smaller mp3 and it was fine.
So now i am left wondering where to change the settings to allow for bigger files to play?
I have increased the upload size in attachments. It seems to attach fine just not play fine.
But essentially it is working and for that i cant thank you enough AURFSCAN.
You have been patient with me mate. Cheers. :up:


Using this same theory i was able to get video to play on my forum now also :) YAY!!!!!!!
One happy chappy here. Thanks again all.
And the size limit seems to be attachment related which dont bother me as i have a upload script i made a long time ago for members and they use that.
Now everything is perfect. (Cant wipe the smile off my face guys and gals)

skol 07-06-2010 03:58 PM

You'll probably find your host is restricting you to the size of upload,changing the upload size in VB serves no purpose if your host dosen't allow it.

DAMINK 07-06-2010 07:27 PM

Quote:

Originally Posted by skol (Post 2065352)
You'll probably find your host is restricting you to the size of upload,changing the upload size in VB serves no purpose if your host dosen't allow it.

Nope. I am a reseller and ultimately my own host :) So i know that is not the issue.
I am able to play any size now using my own upload system etc.
Running a charm i have to say now.
Thanks for the bbcode advice everyone and sorry for hijacking this thread :(
However i hope the advice given to me can help others while using this plugin or editing to suit.

dankreiner 07-14-2010 02:39 PM

is there any way that when you finish the first file, it automatically moves on to the second without having to hit play on the next file? the other thought was is there a way that users can download all attachments with a single click?

SoltanWorld 07-16-2010 06:41 AM

just a problem within this : when i have attach sth like pdf files, the player shows too, is there any way to make it to be shown just within mp3 files?

sadiq6210 07-23-2010 04:52 PM

Thanks =) installed

toolmanwill 10-30-2010 06:06 PM

i use this code, works like a charm
Code:

<!-- Embed Player -->
<vb:if condition="$show['member']">
<vb:if condition="$attachment[attachmentextension] == mp3">
<embed type="application/x-shockwave-flash" src="{vb:raw vboptions.bburl}/audio-player.swf?audioUrl=attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
</vb:if>
</vb:if>
<!-- /Embed Player -->

Thanx Eric, i like this...nice and simple!1


All times are GMT. The time now is 06:35 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.01115 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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)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