Open jgueytat opened 6 years ago
Here is an easy to try Qt repository to test the Spotify WebPlayer SDK on desktop. https://github.com/jgueytat/UnofficialSpotify-desktop
Hi @jgueytat - the Web Playback SDK only works on browsers that support Encrypted Media Extensions. I'm unfamiliar with Qt WebView in Sailfish OS, does the underlying browser have EME support?
https://github.com/jgueytat/UnofficialSpotify-desktop
An application with Qt is possible as long you worry to enable the EME. So the problem is just to have a Qt library properly configured which is not the case for Sailfish OS for the moment.
Issue found on 08/03/2018.
Scope(s):
user-read-playback-state streaming user-read-birthdate user-read-email user-read-private
Steps to reproduce:
Expected behaviour:
No error displayed and the application listed as a "Spotify Connect device".
Actual behaviour:
Initialization failed.
The OAuth part is properly done. The Qt WebView starts on this page https://github.com/jgueytat/UnofficialSpotify/blob/master/html/spotify-player.html.in with a proper TOKEN. I should understand now why the initialization failed.
I was able to get the player found on a Spotify Windows application but I have an initialization error :
I have many of those also :
It would be much easier to work on a not uglified spotify-player.js to debug.
Thanks for contacting me! :) Best Regards,