Today, Google Chrome (the world's second largest browser) got all of these APIs and more (except WebRTC, but it's in the dev build, so it will soon be here too). Chrome even have it's own built-in appstore (Chrome Web Store) where users can install extension/apps, without having to restart their browser.
Another approach to get Spotify to the web is to use Native Client (NaCl) to compile C/C++ code for the web. An example is the game Bastion that was compiled with NaCl to run in Chrome.
This would be the easiest way for the Spotify developers, as they only had to tweak their code very little to make it compile with NaCl.
( Offtopic: I made a chrome extension for Spotify, which convert spotify links to links with mouseover info, for example image of the album, artist name, title of track, popularity. Get it HERE. Thank you :] )
Correct me if I'm wrong, but the reason Spotify is able to connect to a song almost instantaneously, is because it's gathering the song data based on a P2P configuration, loading parts of the song from people's computers (who have the song) based on proximity to the streamer.
Why not just open up this potential network to all audiofiles - music, samples, etc - and let music forgotten in history, music made by unknown/amatuers, and let the people/business entities take it down, like they already do to blogs. I'm imaging that this giant network of content, will replace the the need to pirate anything, since it will all exist in the cloud of Spotify (an easier platform to police content). Imagine people curating playlists of music/sounds they've uploaded (based on quality control guidlines) that end up making forgotten artists money, or atleast give them exposure they never had. Let's face it, the RIAA is here to protect the labels, which are a dying or evolving mediary, and not the artists. The community protects the artists.
Or if this is too scary, why not just connect Spotify to Soundcloud and drop the fee's to upload music?
That sounds simple but is in fact not possible. Spotify needs the right to play every song that is on Spotify. While a lot bands might appreciate it, there can't be a general rule about it and new licencing would need to be worked out first.
This is one time I'm all too happy to go back on my words from my previous update.
We're happy to announce that we have a beta web player available to some users. Keep in mind the beta version is still being worked on and will be available in the early part of next year. For now, try it out at play.spotify.com.
Since we're still in testing, that link might not work for everyone at the moment. If you're unlucky enough to not be taking part in the beta please just sit tight and we hope to be able to bring you the Web Player as quickly as possible.
We'll update this thread once the official version is released.