Napster/napster.js

style display:none in initializer prevents playback in Firefox

Opened this issue ยท 12 comments

It has been reported that in Firefox browsers, because the init function sets the display style to none (see line 83), playback will never be enabled because the ready event will never be received.

Commenting out display: none line for me actually triggers the Player.playerReady() function.

In addition, in Firefox, there is an exception
TypeError
"Argument 2 of EventTarget.addEventListener is not an object."
"Player.playerReady@http://api.napster.com/v1.1/player/player.js:1:3446playerReady@http://api.napster.com/v1.1/player/player.js:1:24@http://api.napster.com/v1.1/player/index.html?apikey=MTM2Zjc1OWMtZjIyYS00NjlkLTljYzItMTA2NDEyNDgyZTAy:0:22"
image

Seems to be working now after I restarted Firefox.

Thanks for the feedback @mkommar. We're in progress of updating the SDK to remove the dependency on Flash for track playback (HTML5 Audio - yeah baby!)

We will fix this bug in the example app when we make the player update.

@aguywithanidea - Any idea ETA on when the HTML5 audio version will be released?

We're currently hoping to have this released in early August. We will keep you posted :)

@aguywithanidea any update on the new release timing?

Hi!
@aguywithanidea, sorry to insist. But can you give us an update on the HTML5 audio version?

@aguywithanidea - Here is my every few month check in...:) Any update on the new release? Eagerly awaiting. Happy Holidays!

Hi @mfitzhenry thanks for checking in on this. We are working on this now. I will update this thread when we have the release date finalized.

Any update, I'm eagerly awaiting for html 5 support as well!

Any updates on the html5 release? Anxiously awaiting! Maybe can you offer an early beta we can start working with?