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