From b610406d5a620517214aeda40ef6e8a013627a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 8 Aug 2014 17:52:43 +0200 Subject: [PATCH] good --- delete.php | 38 +++++++++++++++++++------------------- index.php | 2 ++ videos.json | 2 +- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/delete.php b/delete.php index a292f68a..e949422e 100644 --- a/delete.php +++ b/delete.php @@ -1,20 +1,20 @@ - \ No newline at end of file diff --git a/index.php b/index.php index 64b9b883..20ebe57d 100644 --- a/index.php +++ b/index.php @@ -67,6 +67,7 @@ success: function() { console.log("saved"); + console.log(response); } }); @@ -76,6 +77,7 @@ async: false }).responseText; var url = $.parseJSON(response); + console.log(url[0]); response = url[0]; ytplayer.loadVideoById(response); diff --git a/videos.json b/videos.json index 0b45b3ce..25cd0d95 100644 --- a/videos.json +++ b/videos.json @@ -1 +1 @@ -["eTwQ4kACymM","y6DHE_5drbM","A8P01EjBQxY","dMrmfub2TBw","BSAUJIRqAF4","mG6pm1WZ2uc"] \ No newline at end of file +["XU_9yi6xvRs", "mG6pm1WZ2uc"] \ No newline at end of file