parent
7897fe6f3d
commit
8b49d51e08
|
@ -75,6 +75,7 @@ function updateTable() {
|
||||||
|
|
||||||
function applyUrlTransforms(url) {
|
function applyUrlTransforms(url) {
|
||||||
console.log("Begin applyUrlTransforms:" + url);
|
console.log("Begin applyUrlTransforms:" + url);
|
||||||
|
url = url.trim();
|
||||||
if (url.match(/^https?:\/\/(www\.)?youtu(\.be|be\.com)\//)) { // Youtube
|
if (url.match(/^https?:\/\/(www\.)?youtu(\.be|be\.com)\//)) { // Youtube
|
||||||
console.log("Youtube");
|
console.log("Youtube");
|
||||||
var videoid = "";
|
var videoid = "";
|
||||||
|
|
Loading…
Reference in New Issue