Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2007, 05:09 PM
brandondrury brandondrury is offline
 
Join Date: Oct 2005
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is There A Way To Stream MP3 Attachments In vBulletin?

Hello,

I run a music recording site. A popular board is the "Recoriding Reviews" section where an engineer or artist will upload their songs and then we bash the crap out of them and give suggestions.

I've had a few compliants that it takes 30-60seconds to download the attachments and therefore my users are reviewing less music.

Is there a way to setup attached mp3s to play back more or less instantly?

Brandon
Reply With Quote
  #2  
Old 10-27-2007, 06:39 PM
Awjvail Awjvail is offline
 
Join Date: Jun 2007
Location: Canada
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the user has Quicktime installed it should play directly in the browser.
Reply With Quote
  #3  
Old 10-27-2007, 06:52 PM
brandondrury brandondrury is offline
 
Join Date: Oct 2005
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems that attachments act a little bit differently. While on many sites I can click on an mp3 and it start playing pretty much immediately, with mp3 attachments, the song won't big playing until the entire song is downloaded even if I select the "open" option.

I don't have Quicktime and I really can't expect all my users to have quick time either. There has to be a way to make this work with media player or some kind of streaming player in vBulletin.

Brandon
Reply With Quote
  #4  
Old 10-27-2007, 08:26 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could create a mod that when an attachment is an mp3, it will have a tiny, inline flash-based mp3 player and the download link available. That way someone can just hit play, or they can download the song. Something like this:
Attached Images
File Type: png mp3playervb.png (16.7 KB, 0 views)
Reply With Quote
  #5  
Old 10-27-2007, 08:49 PM
Guest190829
Guest
 
Posts: n/a
Default

Search XSPF Player on Google, I think that is what you are looking for. It will require some modifications for vBulletin of course though.
Reply With Quote
  #6  
Old 10-28-2007, 03:53 AM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
You could create a mod that when an attachment is an mp3, it will have a tiny, inline flash-based mp3 player and the download link available. That way someone can just hit play, or they can download the song. Something like this:
Say, thats a nice idea Analogpoint. Could you post how to do it/code?
Reply With Quote
  #7  
Old 10-28-2007, 03:59 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobDog888 View Post
Say, thats a nice idea Analogpoint. Could you post how to do it/code?
What I posted was a mock-up. It would need to be developed.
Reply With Quote
  #8  
Old 10-28-2007, 05:28 AM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, well it would be a good hack.
Reply With Quote
  #9  
Old 10-30-2007, 07:38 PM
brandondrury brandondrury is offline
 
Join Date: Oct 2005
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks like a great idea.

Does anyone know why an mp3 attachment won't play immediately but a link to http://www.domain.com/whatever.mp3 will play immediately? My guts says it MAY be faster to change the code so that the mp3 starts playing immediately in Media Player vs creating a new media player.

Then again, the flash media player thingy looks to be a great option.

hmmm

Brandon
Reply With Quote
  #10  
Old 10-31-2007, 03:34 AM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod does it.

https://vborg.vbsupport.ru/showthrea...150491&page=74
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05766 seconds
  • Memory Usage 2,269KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete