better flash players
BotB Academy Bug Reports and Feature Requests
 
 
12858
Level 29 Hostist
puke7
 
 
 
post #12858 :: 2010.03.16 9:13am
BotB currently uses two borrowed flash players. One for single mp3 playback and another for playlists. Over the years I've gotten complaints about both of them. The single player has no volume control; the playlist player doesn't use the BotB's palettes.

What I'd really like is BotB to have it's own flash players that can be embedded elsewhere. I don't feel I have the time to do this on my own. I talked with Tristendo a bit about it but maybe he is too busy? This is worth mad codist points!

Also, an iPhone user was telling me flash doesn't work on iPhones and the forced MP3 donload doesn't work either. Pretty sure we can detect iPhones on the server side and cancel the forced donload, just forwarding instead. Hit me up on IRC, whoever you were, and I'll work on this.
 
 
12866
Level 30 Mixist
Baron Knoxburry
 
 
 
post #12866 :: 2010.03.16 1:19pm
The multi-track player should have battle image and track icons on it too!
 
 
12898
Level 30 Chipist
TristEndo
 
 
 
post #12898 :: 2010.03.16 10:57pm
I have been quite busy lately with a lot of school projects. I may have time over spring break to figure out how to work this. the design will be easy, teh codings is going to be a prolen, but if i read enough tutorial I can figure it out if im not a slacking n00b =x
 
 
12932
Level 16 OHCist
Soiled Bargains
 
 
post #12932 :: 2010.03.18 9:30am
Yeah, I'm the iPhone guy. Forwarding the listen button to the MP3 would work. Linking it to a PHP that'll give the royalties and return the MP3 would work too, I suppose.
 
 
13022
Level 29 Hostist
puke7
 
 
 
post #13022 :: 2010.03.25 10:19pm
Soiled Bargains, I put a catch in the ForwardFile() function. If it detects 'iPhone' in the user agent it won't write the headers and just sends the file raw. Tell me if it works.
 
 
13039
Level 16 OHCist
Soiled Bargains
 
 
post #13039 :: 2010.03.26 2:43pm
No, it didn't work. The listen button still took me to the player, and clicking the download link on the player got me an MP3. Once time I got one of those "integer required for object 'botbr' =p" errors.

Don't send the file raw, send the MP3.

I just got an illegal link to an MP3? Wat?
 
 
13237
Level 29 Hostist
puke7
 
 
 
post #13237 :: 2010.05.02 3:12pm
While looking for a way to create a typing effect in javascript I found this thing --

http://www.schillmania.com/projects/soundmanager2/

I don't know why I hate working in flash so much. SoundManager 2 is a tiny .swf wrapped in 46kb of javascript. Which means my concepts for an actual BotB radio (where everyone hears pretty much the same playlist) would be much easier to implement. Skinning with palettes, extra track/BotBr info, links, functionality, the works would be 100x easier.

The drawback is no embedding of a BotB player/playlist without including plugin files on other sites. ...or <iframe>...
 
 
13649
Level 16 OHCist
Soiled Bargains
 
 
post #13649 :: 2010.07.28 4:36pm
Oh hi old thread.

The whole ForwardFile() thing used to throw errors (like this
), but now it seems the only thing that isn't working is your MIME type. Instead of popping up the built-in media player, I just get the MP3 gibberish.

If you could have the listen button forward to the MP3 instead, if possible, that'd be great.
 
 
13651
Level 29 Hostist
puke7
 
 
 
post #13651 :: 2010.07.28 4:56pm
Listen button opens player.

http://www.schillmania.com/projects/soundmanager2/

^ non-flash option i'm looking at
 
 
13653
Level 16 OHCist
Soiled Bargains
 
 
post #13653 :: 2010.07.28 5:17pm
Looks pretty good to me. As long as you can script in a scrubber and have it display elapsed/remaining time. And it works on my phone like a charm! I never thought I'd like HTML5 so much.

Sorry I didn't check out that link earlier! x(
 
 
13722
Level 28 Chipist
ui
 
 
 
post #13722 :: 2010.08.29 6:21pm
ui helpign on the flash player = EPIC FAIL
 
 
13730
Level 30 Chipist
TristEndo
 
 
 
post #13730 :: 2010.09.04 9:49am
me failo too :I . I can not grasp the scope of building my own player yet. Or I am just a nuclear slacker :o
 
 
13742
Level 29 Hostist
puke7
 
 
 
post #13742 :: 2010.09.07 11:42am
Don't worry, gang, I've been experimenting with the soundmanager2 library off and on. I believe this will be the solution, an amalgamation of that lib, jQuery and BotB backend stuff. I've even seen it work in an iPhone...
 
 
13746
Level 16 OHCist
Soiled Bargains
 
 
post #13746 :: 2010.09.07 4:52pm
And I feel horrible for being happy about it. So iOS doesn't support Flash, and yet HTML5 runs on it? Hello, was this news? xD

Why say "oh hey go with this" if all I'm doing is helping teh enemy with their agenda! :(((
 
 
13776
Level 29 Hostist
puke7
 
 
 
post #13776 :: 2010.09.15 2:50pm
Good news, kids! My current client wanted a custom mp3 player in their site so I got paid to figure out how to do such a thing. Hopefully next week I'll be done with that project and working on a new BotB player. Soundmanager2 + jQuery + BotB's php system FTW!!
 
 
13780
Level 23 Mixist
iamgreaser
 
 
 
post #13780 :: 2010.09.15 10:21pm
Doesn't seem to work on here, sorry (FreeBSD 8.1-PRERELEASE + Firefox 3.6.3). Nevertheless, the download links seem to work fine in wget so please don't block that (sadly this build of Firefox tends to crash when I download stuff).

However, if that thing works on an iPrude then I guess it could be work using.

I could possibly consider making a Java player.
 
 
13803
Level 29 Hostist
puke7
 
 
 
post #13803 :: 2010.09.21 3:03pm
iamgreaser - I'd like to know more about your situation. Would you please check out http://bubba-ts.com/temp/ and let me know if the media player there works? Many of the demos on SM2 use the latest version of flash for extra visual stuff. I've been working with Flash 8.
 
 
13814
Level 29 Hostist
puke7
 
 
 
post #13814 :: 2010.09.25 4:24pm
New player is up for single plays. I've left soundManager's debug messages public for the time being. Please let me know if there are any errors! Next step would be to make the multi-player work in this fashion.
 
 
13829
Level 30 Mixist
Baron Knoxburry
 
 
 
post #13829 :: 2010.10.01 1:29pm
...still not working on teh iPhones =(
 
 
13838
Level 23 Renderist
anewuser
 
 
 
post #13838 :: 2010.10.07 1:58pm :: edit 2010.10.07 2:04pm
well, sure thing.

The entries of my uploading session can't be found by the new player. Seems like it's referencing files but using the wrong filename...
I have BotB 723 Baron Knoxburry - pootie comfort_nsf.mp3 and it looks for a
"fail
ata/battle/00000094/BotB 723 Baron Knoxburry - pootie comfort.nsf.mp3/ missing
BotB 723 Baron Knoxburry - pootie comfort.nsf.mp3 can't donload" *maybe* the files are somewhere in the server and could be renamed with a batch file. Otherwise I have the files rendered and could upload again, double the points ;D/

Check the 404 log/today's irc log!
also, I have no idea where teh files were uploaded...I propose a /renders folder to find more easily x_X
 
 
13857
Level 29 Hostist
puke7
 
 
 
post #13857 :: 2010.10.17 8:07pm :: edit 2010.10.17 8:12pm
Found the bug. BotB was saving an incorrect filepath for the mp3 renders. Working on code to find these and more missing/mislabeled renders. You're right, they mostly are on the server already.

163 renders have incorrect filepaths. My current methods only fix about 90% . . .

But I did fix the render uploader thingy, tested it locally, but not on the live site yet. =P
 
 
13860
Level 23 Renderist
anewuser
 
 
 
post #13860 :: 2010.10.18 5:44am
Sexy beard at work :D yaum!
 
 
21976
Level 16 OHCist
Soiled Bargains
 
 
post #21976 :: 2013.01.23 4:03pm
  
  chunter liēkd this
Wow, have times changed quickly. Now that I've seen how Flash's proprietary nature can bite the web (take, for example, Flash support being dropped on Linux last year... gulp), I'm all for HTML5, though I still have my gripes.

Anyway, onto a bug and feature request.

Bug: It appears that the Flash player on entries for guests and BotBrs alike (try and use the Flash player for a Detroit/Ann Arbor sample) is broken. I thought it was just my browser being silly when I noticed it a few months ago, but after I've tried it on a few different platforms it appears to be broken.

Feature Request: Is it less trivial to implement HTML5 players, with Flash as a fallback, than it was a few years ago? It'd be great if we could use BotB on our too-old-or-too-new-for-Flash devices.
 
 
21983
Level 24 Chipist
ant1
 
 
 
post #21983 :: 2013.01.23 6:41pm
fwiw the new single-track soundmanager player doesn't work for me on FF18 with gnash (free flashplayer implementation) installed on fedora 18. firefox doesn't support mp3 in html5 and maybe never will.

as soiledbargains points out (although "flash support dropped from linux" is misleading -- it is of course linux support that is being dropped from flash), there will be no new linux versions of adobe flash after 11.2 (11.2 is still available from the adobe site if yr interested)

i'm pretty much resigned to not listening to audio from botb in the browser (i never did that much of it anyway) but i guess other people might want to.

some workarounds ~~
1) server side ogg transcoding. probably not worth doing?

2) (for botb radio) downloadable m3u/pls files with X number of songs playlisted -> the files aren't downloaded until the media player plays them so you could concievably put hundreds of songs in them. there are a lot of advantages to doing this imo. the disadvantage would be if there are public links for media players to get the songs then evil scraperbots can get at them too.

dunno really. don't worry about me, i'm fine just clicking "donload mp3". but other people?! i guess i don't need to speak on their behalf, if they are having problems they can complain themselves.
 
 
21988
Level 28 Chipist
Jangler
 
 
 
post #21988 :: 2013.01.24 1:10am
perhaps it would be good to replace the guest player with "listen" links in the short-term?
 
 

LOGIN or REGISTER to add your own comments!