aboutsummaryrefslogtreecommitdiff
path: root/src/server/youtubeApi/youtubeApiSample.js
diff options
context:
space:
mode:
authorMohammad Amoush <mohammad_amoush@brown.edu>2019-07-17 17:50:45 -0400
committerMohammad Amoush <mohammad_amoush@brown.edu>2019-07-17 17:50:45 -0400
commit49edd4e6071d0ea84cd0a652d69acb826866c99b (patch)
treeac03a81a1ab9e24bf239305cf3c0e081bb859119 /src/server/youtubeApi/youtubeApiSample.js
parent9c868077db569a606ec465557d9d693bcd3abd34 (diff)
New VideoBox spawns when a youtube video search result is clicked
Diffstat (limited to 'src/server/youtubeApi/youtubeApiSample.js')
-rw-r--r--src/server/youtubeApi/youtubeApiSample.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/youtubeApi/youtubeApiSample.js b/src/server/youtubeApi/youtubeApiSample.js
index e95f99015..f875812d5 100644
--- a/src/server/youtubeApi/youtubeApiSample.js
+++ b/src/server/youtubeApi/youtubeApiSample.js
@@ -153,7 +153,7 @@ function getSampleVideos(auth, args) {
return;
}
let videos = response.data.items;
- console.log('Videos found: ' + videos[0].id.videoId, " ", videos[0].snippet.title);
+ console.log('Videos found: ' + videos[0].id.videoId, " ", unescape(videos[0].snippet.title));
args.callBack(videos);
});
} \ No newline at end of file