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)

ericgtr 04-18-2010 05:40 PM

Quote:

Originally Posted by junaid (Post 2022975)
very nice is it possible to get player and keep our web-server
cos it may be fast loading

I haven't tried but my guess is you can probably take grab the player from http://www.google.com/reader/ui/3247...dio-player.swf then upload it to your server and use it that way. I can't guarantee that it will work but I don't see why it wouldn't. Of course, being Google I think it's probably going to have a better up-time percentage than most sites. ;)

Quote:

Originally Posted by sulasno (Post 2023088)
Do I upload a mp3 to the forum or will posting a link triggers the player ?

Quote:

Originally Posted by COL NIL SATIS (Post 2023154)
where does this show mate???? i have put the code in but nothing is showing??? any ideas

Once the MP3 is uploaded it will show in the post below where the attachment is normally shown. Make sure the code is applied to the template(s) you are using.

AURFSCAN 04-18-2010 07:06 PM

im trying to make it work with this https://vborg.vbsupport.ru/showthread.php?t=161567

AURFSCAN 04-18-2010 07:12 PM

1 Attachment(s)
Quote:

Originally Posted by ericgtr (Post 2023307)
I haven't tried but my guess is you can probably take grab the player from http://www.google.com/reader/ui/3247...dio-player.swf then upload it to your server and use it that way. I can't guarantee that it will work but I don't see why it wouldn't. Of course, being Google I think it's probably going to have a better up-time percentage than most sites. ;)




Once the MP3 is uploaded it will show in the post below where the attachment is normally shown. Make sure the code is applied to the template(s) you are using.

uploading google player to server and adjusting code to link to it does work :)




Code:


<!-- Embed Player -->
<vb:if condition="$show['member']">
<embed type="application/x-shockwave-flash" src="/location of player on your server/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>
<BR />
<vb:if condition="$show['guest']">
<a href="/register.php">Register for free</a> today to download files or play them directly in our embedded media player
</vb:if>
<!-- /Embed Player -->


ericgtr 04-19-2010 04:50 PM

Quote:

Originally Posted by AURFSCAN (Post 2023355)
im trying to make it work with this https://vborg.vbsupport.ru/showthread.php?t=161567

This mod does the same thing, not sure what you mean work "with" it. It's a replacement.

AURFSCAN 04-19-2010 05:50 PM

google player is nice, the other one is nicer.. thats all

ericgtr 04-19-2010 06:18 PM

Quote:

Originally Posted by AURFSCAN (Post 2023916)
google player is nice, the other one is nicer.. thats all

Agreed, I was hoping he would update it for 4.0, otherwise I wouldn't have created this one.

junaid 04-19-2010 06:45 PM

I have issue this code
MP3 player is display all format of attachments like zip, rar
what is the solutions i am using vbseo

junaid 04-19-2010 06:58 PM

I disable vbseo and check this player view all type of attachments
It nice this only view MP3 or supported format extensions audios only

pls update code

NashChristian 04-20-2010 07:13 AM

Will this work with playing mp3's hosted on other sites, or must they be local on the vb site's personal server?

ericgtr 04-20-2010 01:51 PM

Quote:

Originally Posted by junaid (Post 2023965)
I disable vbseo and check this player view all type of attachments
It nice this only view MP3 or supported format extensions audios only

pls update code

I do not see a way around this, if your site has other attachment types (aside from images) this will show with it unfortunately.

Quote:

Originally Posted by NashChristian (Post 2024199)
Will this work with playing mp3's hosted on other sites, or must they be local on the vb site's personal server?

No it won't, but there are several mods available for 4.0 that will do this for you though.


All times are GMT. The time now is 09:57 PM.

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.01379 seconds
  • Memory Usage 1,744KB
  • 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
  • (8)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
  • (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