Fixed error in send_play function

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-09 14:22:22 +02:00
parent a4cf4acd74
commit 44a04aa9fa
10 changed files with 32 additions and 17 deletions

0
static/js/chat.js Normal file → Executable file
View File

1
static/js/hostcontroller.js Normal file → Executable file
View File

@@ -8,7 +8,6 @@ socket.on("id", function(id)
$("#code-text").text(id.toUpperCase())
$("#code-qr").attr("src", "https://chart.googleapis.com/chart?chs=221x221&cht=qr&choe=UTF-8&chld=L|1&chl="+codeURL);
$("#code-link").attr("href", codeURL);
if(!began)
{
socket.on(id, function(arr)

0
static/js/lib/jquery-2.1.3.min.js vendored Normal file → Executable file
View File

0
static/js/lib/jquery-ui-1.10.3.min.js vendored Normal file → Executable file
View File

0
static/js/remotecontroller.js Normal file → Executable file
View File

View File

@@ -77,6 +77,15 @@ function setup_youtube_listener(channel)
$(document).ready(function()
{
var img = new Image();
img.onload = function () {
var colorThief = new ColorThief();
colorThief.getColor(img);
};
img.crossOrigin = 'Anonymous';
img.src = 'http://img.youtube.com/vi/NuEfvIca0XU/mqdefault.jpg';
setup_youtube_listener(chan);
//Materialize.toast("Passwords have been reset. If anything is not right, please send us a mail @ contact@zoff.no", 10000);
$("#settings").sideNav({