From c25e3dea78d9337aafef7826784d125ab3de3c35 Mon Sep 17 00:00:00 2001 From: panfu28 <34801669+panfu28@users.noreply.github.com> Date: Sun, 14 Feb 2021 02:49:15 -0300 Subject: [PATCH] Update config.php Fixed embedding for dailymotion, metacage and vocaroo. Google Videos stopped being a thing in 2012 it seems. --- inc/config.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/inc/config.php b/inc/config.php index 64b5b303..368c7612 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1081,27 +1081,23 @@ $config['embedding'] = array( array( '/^https?:\/\/(\w+\.)?youtube\.com\/watch\?v=([a-zA-Z0-9\-_]{10,11})(&.+)?$/i', - '' + '' ), array( '/^https?:\/\/(\w+\.)?vimeo\.com\/(\d{2,10})(\?.+)?$/i', - '' + '' ), array( '/^https?:\/\/(\w+\.)?dailymotion\.com\/video\/([a-zA-Z0-9]{2,10})(_.+)?$/i', - '' + '' ), array( '/^https?:\/\/(\w+\.)?metacafe\.com\/watch\/(\d+)\/([a-zA-Z0-9_\-.]+)\/(\?[^\'"<>]+)?$/i', - '
' + '' ), array( - '/^https?:\/\/video\.google\.com\/videoplay\?docid=(\d+)([&#](.+)?)?$/i', - '' - ), - array( - '/^https?:\/\/(\w+\.)?vocaroo\.com\/i\/([a-zA-Z0-9]{2,15})$/i', - '' + '/^https?:\/\/(\w+\.)?vocaroo\.com\/([a-zA-Z0-9]{2,12})$/i', + '' ) );