mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Better colorthief handling
- Moved colorthief handling to api, making it easier to controll where the requests comes from
This commit is contained in:
@@ -405,7 +405,8 @@ var Player = {
|
||||
Player.player.loadVideoById({'videoId': id, 'startSeconds': s, 'endSeconds': e});
|
||||
}
|
||||
if(offline) {
|
||||
socket.emit("color", {id: id});
|
||||
getColor(id);
|
||||
//socket.emit("color", {id: id});
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user