diff --git a/public/main.js b/public/main.js index a5fc0dd..e9fee5d 100644 --- a/public/main.js +++ b/public/main.js @@ -75,6 +75,7 @@ function updateTable() { function applyUrlTransforms(url) { console.log("Begin applyUrlTransforms:" + url); + url = url.trim(); if (url.match(/^https?:\/\/(www\.)?youtu(\.be|be\.com)\//)) { // Youtube console.log("Youtube"); var videoid = "";