From ac48412f7e5ec7e044bbc9683e9356d5b7329526 Mon Sep 17 00:00:00 2001 From: galaxyoyo Date: Sat, 21 Sep 2019 17:48:49 +0200 Subject: [PATCH] Support de Daylimotion --- server_files/model.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server_files/model.php b/server_files/model.php index e1f0425..637c3b8 100644 --- a/server_files/model.php +++ b/server_files/model.php @@ -180,4 +180,8 @@ function displayVideo($link) echo "
"; } + elseif (preg_match("#(https?\://|)(www\.|)dailymotion\.com/video/(.*)#", $link, $matches)) { + $code = $matches[3]; + echo "
"; + } } \ No newline at end of file