naveedgol / music-web-player

Web player for Apple Music
https://naveedgol.github.io/music-web-player/
GNU General Public License v3.0
923 stars 110 forks source link

Not working in Chromium on Ubuntu #65

Closed shawnthompson closed 5 years ago

shawnthompson commented 5 years ago

OS: Ubuntu 18.04 LTS Browser: Chromium Version 71.0.3578.98 (Official Build) snap (64-bit)

It loads my library and I can browser everything but it's not playing any songs.

Console is giving these errors:

main.d453473eb23953801d98.js:1 ERROR Error: Uncaught (in promise): NotSupportedError: Unsupported keySystem or supportedConfigurations.
    at O (polyfills.c6871e56cb80756a5498.js:1)
    at O (polyfills.c6871e56cb80756a5498.js:1)
    at polyfills.c6871e56cb80756a5498.js:1
    at e.invokeTask (polyfills.c6871e56cb80756a5498.js:1)
    at Object.onInvokeTask (main.d453473eb23953801d98.js:1)
    at e.invokeTask (polyfills.c6871e56cb80756a5498.js:1)
    at t.runTask (polyfills.c6871e56cb80756a5498.js:1)
    at v (polyfills.c6871e56cb80756a5498.js:1)

Works in Firefox. But it had to install something to allow me to use DRM content...

Vertana commented 5 years ago

I just installed chromium on Fedora to test this and it seems like it may be a problem with your chromium install. Most likely it does not have the libwidevine support enabled and will not play any DRM content. Are you able to play a Netflix.com video using it?

PkAIR commented 5 years ago

@shawnthompson I can confirm that the problem is all about widevine and @Vertana is right. I'm using manjaro with Opera but also can't play music there (having the same issue as you mentioned). But apart from that I can do it using Chrome with the same OS.

shawnthompson commented 5 years ago

Can't do Netflix either but it works in Firefox. Do you think this is something that can be fixed. I'm ok with using it in Firefox only.

PkAIR commented 5 years ago

@shawnthompson yeah, since Netflix using the same lib it's expected to act the same way. For sure it can be fixed. For instance Opera is aware of this issue but still working on it (https://forums.opera.com/topic/28663/widevine-and-opera). I bet Chromium doing the same. ALso by the link there is a sort of suggestion how to use Chrome's lib in Chromium (as I understood simply by using simlink).

Vertana commented 5 years ago

Yeah if you really must have Chromium you can even copy libs from Google Chrome. There are plenty of guides floating around to enable it.

shawnthompson commented 5 years ago

Awesome thanks everyone! I guess I can close this.