From 929e1b2c6992854b5d5af922a937ac64ac6fece0 Mon Sep 17 00:00:00 2001 From: Xaekai Date: Sun, 14 May 2017 19:21:01 -0700 Subject: [PATCH] Add support for embedded VidMe URLs --- www/js/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/js/util.js b/www/js/util.js index ad1c40b9..322e8327 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -1367,7 +1367,8 @@ function parseMediaLink(url) { }; } - if((m = url.match(/vid\.me\/([\w-]+)/))) { + if ((m = url.match(/vid\.me\/embedded\/([\w-]+)/)) || + (m = url.match(/vid\.me\/([\w-]+)/))) { return { id: m[1], type: "vm"