vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Is There A Way To Stream MP3 Attachments In vBulletin? (https://vborg.vbsupport.ru/showthread.php?t=161259)

brandondrury 10-27-2007 05:09 PM

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

Awjvail 10-27-2007 06:39 PM

If the user has Quicktime installed it should play directly in the browser.

brandondrury 10-27-2007 06:52 PM

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

Analogpoint 10-27-2007 08:26 PM

1 Attachment(s)
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:

Guest190829 10-27-2007 08:49 PM

Search XSPF Player on Google, I think that is what you are looking for. It will require some modifications for vBulletin of course though.

RobDog888 10-28-2007 03:53 AM

Quote:

Originally Posted by Analogpoint (Post 1369988)
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? :)

Analogpoint 10-28-2007 03:59 AM

Quote:

Originally Posted by RobDog888 (Post 1370178)
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.

RobDog888 10-28-2007 05:28 AM

Oh, well it would be a good hack. :D

brandondrury 10-30-2007 07:38 PM

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

nix 10-31-2007 03:34 AM

this mod does it.

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

brandondrury 11-01-2007 09:05 AM

Thanks for the update. I'll check that out.

On a related note, I've looked further into this:

I wonder if this I can change the MIME type / content-type to something other than
Content-Type: audio/mpeg or add something to this line to make the mp3 attachments perform as standard mp3s.

Brandon

Konstantinos 12-14-2007 05:31 PM

Quote:

Originally Posted by Analogpoint (Post 1369988)
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:

can we do this for memberinfo ??

MediaHound 01-16-2008 08:55 PM

Here you go:
https://vborg.vbsupport.ru/showthread.php?t=161567


All times are GMT. The time now is 08:42 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.01100 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete