Live data from Hacker News

Show HN: Beatbar - Media player that beats in the browser address bar

jaipandya.github.com

1–10 of 44 posts

Re: Show HN: Beatbar - Media player that beats in the browser address bar

#4
You could use unicode for the controls. I modified the local code to use "‖" (and, due to a bug I guess, the chrome address bar became monospaced). If you need, check some reference on http://copypastecharacter.com/all-characters and http://graphemica.com/

Re: Show HN: Beatbar - Media player that beats in the browser address bar

#6
post #4

You could use unicode for the controls. I modified the local code to use "‖" (and, due to a bug I guess, the chrome address bar became monospaced). If you need, check some reference on http://copypastecharacter.com/all-characters and http://graphemica.com/

I settled with the standard character sets as I wasn't sure if the fancy unicode character would be available cross platform or not. I'll look for this possibility again. Thanks.

Re: Show HN: Beatbar - Media player that beats in the browser address bar

#7

If this doesn't work for anyone else, note that beatbar relies on soundcloud, and thus flash. I had flash blocked so was getting a javacript error because beatbar was undefined, enabled flash and it worked.

It uses soundManager for cross browser audio handling. It first tries with flash and fallbacks to html5 if flash is not available. Firefox with flash disabled wouldn't support mp3, and thus won't be able to play it. I am using SoundCloud api only to fetch streams.

Re: Show HN: Beatbar - Media player that beats in the browser address bar

#8
post #7

If this doesn't work for anyone else, note that beatbar relies on soundcloud, and thus flash. I had flash blocked so was getting a javacript error because beatbar was undefined, enabled flash and it worked.

It uses soundManager for cross browser audio handling. It first tries with flash and fallbacks to html5 if flash is not available. Firefox with flash disabled wouldn't support mp3, and thus won't be able to play it. I am using SoundCloud api only to fetch streams.

Hmm, that's odd, I'm using Chrome 19.01 and have no other plugins running asides FlashBlock. Once I disabled flash block everything ran fine. Does this version of Chrome not support the HTML5 fallback?

Here's the Js error:

Uncaught TypeError: Cannot call method 'init' of undefined /beatbar/:75 (anonymous function) /beatbar/:75 f.event.dispatch jquery.min.js:3 f.event.add.h.handle.i

Re: Show HN: Beatbar - Media player that beats in the browser address bar

#10
post #7

Earlier quoted context omitted.

It uses soundManager for cross browser audio handling. It first tries with flash and fallbacks to html5 if flash is not available. Firefox with flash disabled wouldn't support mp3, and thus won't be able to play it. I am using SoundCloud api only to fetch streams.

Hmm, that's odd, I'm using Chrome 19.01 and have no other plugins running asides FlashBlock. Once I disabled flash block everything ran fine. Does this version of Chrome not support the HTML5 fallback? Here's the Js error: Uncaught TypeError: Cannot call method 'init' of undefined /beatbar/:75 (anonymous function) /beatbar/:75 f.event.dispatch jquery.min.js:3 f.event.add.h.handle.i

I think soundManager requires some special handling for flashblock cases. I didn't test with flashblock on. Thanks for reporting the issue.
Post reply on HN