Live data from Hacker News

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

jaipandya.github.com

21–30 of 44 posts

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

#21
post #10

Earlier quoted context omitted.

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.

It doesn't seem to work in Safari with click2flash, either. Possibly because click2flash doesn't actually disable flash, it just requires a click -- but there's nothing to click on.

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

#22
post #16

Earlier quoted context omitted.

Does it? I am doing a location.replace() which doesn't log the URL to history.

It filled up my history as well. I'm on Chrome on a macbook. I love the idea!

Weird! I am unable to reproduce the issue. I am wondering if the problem is with some specific version of browser.

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

#23
post #22

Earlier quoted context omitted.

It filled up my history as well. I'm on Chrome on a macbook. I love the idea!

Weird! I am unable to reproduce the issue. I am wondering if the problem is with some specific version of browser.

If it helps you in debugging, I am running chrome 18 on Fedora Linux 64bit

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

#24
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'm using Chrome 20.0.1116.0 (canary) with the plugins blocked by default (play on click) and I'm getting the same error. Also the usual 'run all plugins on this page' option is not there.

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

#25
post #22

Earlier quoted context omitted.

Weird! I am unable to reproduce the issue. I am wondering if the problem is with some specific version of browser.

If it helps you in debugging, I am running chrome 18 on Fedora Linux 64bit

Thanks. It appears that location.replace doesn't work in a similar fashion on every browser. I am looking into other methods of implementing, but they look uglier.

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

#26

Very cool indeed, but the title should be more like "Media player that spams your browser's history DB"

Since it took a minute to figure out how to clean that up, maybe this helps other Firefox users:

For me (vertical tabs) at least it was impossible to select multiple entries in the history (ctrl + h) with the mouse. The workaround to remove the entries was to search for beatbar, tab into the list of entries, ctrl + a and right-click -> delete.

History clean again.

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

#27

Very cool indeed, but the title should be more like "Media player that spams your browser's history DB"

Since it took a minute to figure out how to clean that up, maybe this helps other Firefox users: For me (vertical tabs) at least it was impossible to select multiple entries in the history (ctrl + h) with the mouse. The workaround to remove the entries was to search for beatbar, tab into the list of entries, ctrl + a and right-click -> delete. History clean again.

I could get rid of it in Firefox by right-clicking one of the links and selecting "Forget About This Site"

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

#30
This is using the Ajax-era hash hack to change URL, which is causing problems with history and makes the reload button and favicon flash.

I'd suggest using HTML5 history, specifically replaceState(). It works on all modern browsers. Works on IE10, but not IE9 and below. If you want to support IE, you could fall back to the current location.replace().

Post reply on HN