sebastianv89 / raad-je-plaatje Goto Github PK
View Code? Open in Web Editor NEWScan spotify code and play the song
License: The Unlicense
Scan spotify code and play the song
License: The Unlicense
Most users aren't logged in their browser, but they are in their spotify app.
I'm not sure it's possible, but it would be really nice if we could use that app to log in, instead of users having to type their username/password in the browser. (Perhaps this requires a PWA? https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Share_data_between_apps, see also #1)
The scanner does not seem to be picking up the QR code (?)
I see many errors in the console, I suspect this happens when the Player is started with an expired token. If so, this is likely fixed by checking the expiration of the token before starting the player (which we can do when we store the expiration time).
Feature Policy: Skipping unsupported feature name “encrypted-media”. [spotify-player.js:18:11342](https://sdk.scdn.co/spotify-player.js)
Feature Policy: Skipping unsupported feature name “autoplay”. [spotify-player.js:18:11342](https://sdk.scdn.co/spotify-player.js)
Feature Policy: Skipping unsupported feature name “encrypted-media”. [spotify-player.js:18:11394](https://sdk.scdn.co/spotify-player.js)
Feature Policy: Skipping unsupported feature name “autoplay”. [spotify-player.js:18:11394](https://sdk.scdn.co/spotify-player.js)
initPlayer [main.js:198:13](https://sebastianv89.github.io/raad-je-plaatje/main.js)
Partitioned cookie or storage access was provided to “https://sdk.scdn.co/embedded/index.html” because it is loaded in the third-party context and dynamic state partitioning is enabled.
Error in parsing value for “-webkit-text-size-adjust”. Declaration dropped. [normalize.css:13:29](https://sebastianv89.github.io/raad-je-plaatje/normalize.css)
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 22ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 26ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 24ms]
Firefox can’t establish a connection to the server at wss://gew4-dealer.spotify.com/?access_token=BQCgaptHLnHuAoO27Z2qqzcfoAmpDCj-ad0pMuOgAzXEhU6ys6Dl-F31BDaUhsjuooE0hw3xVLCRBXsNrj-yGtuGQ_PnNNAp2sE8uIeiXpJGweQQnHZTsuMOJwoOnAGcNty1ic9BUznK3Ug8tcyLcLWe_nBohlwnGPIX9s_3OIpF1qvqWFJ8rN-6YRgjqdQiVo1S40gLHf4x0XPp. [index.js:18:43008](https://sdk.scdn.co/embedded/index.js)
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 25ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 24ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 24ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 23ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 20ms]
XHRGET
https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback
[HTTP/3 401 21ms]
Firefox can’t establish a connection to the server at wss://gew4-dealer.spotify.com/?access_token=BQCgaptHLnHuAoO27Z2qqzcfoAmpDCj-ad0pMuOgAzXEhU6ys6Dl-F31BDaUhsjuooE0hw3xVLCRBXsNrj-yGtuGQ_PnNNAp2sE8uIeiXpJGweQQnHZTsuMOJwoOnAGcNty1ic9BUznK3Ug8tcyLcLWe_nBohlwnGPIX9s_3OIpF1qvqWFJ8rN-6YRgjqdQiVo1S40gLHf4x0XPp. [index.js:18:43008](https://sdk.scdn.co/embedded/index.js)
Firefox can’t establish a connection to the server at wss://gew4-dealer.spotify.com/?access_token=BQD89HC1mrdcLSDc4gDffs1A4-_kWvlYsmjYyVqWtXepyA8K9bEy45s3eIU6nY3URwvgnGpcBZ5UMduSKo29TPzing9Qqrq2E5ax1NMjFWmF27szTeq-RGWCJXF4GrEfsEjl0j1M0ok_OkDNXTLRusbPSBCOpUtqMpyRl8swwNjhzMS0K8YUxOTsaohlWDaYCe3_-uTeAc6M4447. [index.js:18:43008](https://sdk.scdn.co/embedded/index.js)
Firefox can’t establish a connection to the server at wss://gew4-dealer.spotify.com/?access_token=BQD89HC1mrdcLSDc4gDffs1A4-_kWvlYsmjYyVqWtXepyA8K9bEy45s3eIU6nY3URwvgnGpcBZ5UMduSKo29TPzing9Qqrq2E5ax1NMjFWmF27szTeq-RGWCJXF4GrEfsEjl0j1M0ok_OkDNXTLRusbPSBCOpUtqMpyRl8swwNjhzMS0K8YUxOTsaohlWDaYCe3_-uTeAc6M4447. [index.js:18:43008](https://sdk.scdn.co/embedded/index.js)
It does not even prompt for getting camera access...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.