View Full Version : Is There A Way To Stream MP3 Attachments In vBulletin?
brandondrury
10-27-2007, 05:09 PM
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
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
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
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
this mod does it.
https://vborg.vbsupport.ru/showthread.php?t=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
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.