napster.js icon indicating copy to clipboard operation
napster.js copied to clipboard

style display:none in initializer prevents playback in Firefox

Open aguywithanidea opened this issue 8 years ago • 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.

aguywithanidea avatar Mar 03 '17 00:03 aguywithanidea

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

mkommar avatar Apr 12 '17 22:04 mkommar

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

mkommar avatar Apr 12 '17 23:04 mkommar

Seems to be working now after I restarted Firefox.

mkommar avatar Apr 14 '17 16:04 mkommar

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 avatar Apr 20 '17 21:04 aguywithanidea

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

mfitzhenry avatar Jun 06 '17 01:06 mfitzhenry

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

aguywithanidea avatar Jun 07 '17 20:06 aguywithanidea

@aguywithanidea any update on the new release timing?

mfitzhenry avatar Aug 31 '17 03:08 mfitzhenry

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

afonsorp avatar Oct 13 '17 12:10 afonsorp

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

mfitzhenry avatar Dec 21 '17 16:12 mfitzhenry

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.

lolpack avatar Dec 22 '17 23:12 lolpack

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

eltmon avatar Mar 13 '18 20:03 eltmon

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

eltmon avatar Jun 22 '18 15:06 eltmon