From 53ae34fece6b3aba74f8c611878eb5410b0c9221 Mon Sep 17 00:00:00 2001 From: Jakub Felinski Date: Fri, 19 Jan 2024 11:07:23 -0600 Subject: [PATCH] fixed issue #119 --- src/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services.js b/src/services.js index f57ed7f9..49ae0e30 100644 --- a/src/services.js +++ b/src/services.js @@ -8,7 +8,7 @@ export default { width: 580, }, youtube: { - regex: /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/, + regex: /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=[\w%+]*))*/, embedUrl: 'https://www.youtube.com/embed/<%= remote_id %>', html: '', height: 320,