Added spotify import, somewhat still in beta

This commit is contained in:
Kasper Rynning-Tønnesen
2016-08-26 15:48:02 +02:00
parent 5956090c9f
commit 13bb52cded
13 changed files with 339 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ var Player = {
youtube_listener: function(obj)
{
Player.loaded = false;
if(localStorage.debug){
if(localStorage.debug === "true"){
console.log("--------youtube_listener--------");
console.log("Received: ");
@@ -95,7 +95,7 @@ var Player = {
},
onPlayerStateChange: function(newState) {
if(localStorage.debug){
if(localStorage.debug === "true"){
console.log("-------onPlayerStateChange------");
console.log("New state\nState: ");
console.log(newState);