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