diff --git a/server_files/model.php b/server_files/model.php index d0e2207..e1f0425 100644 --- a/server_files/model.php +++ b/server_files/model.php @@ -175,4 +175,9 @@ function displayVideo($link) $code = $matches[3]; echo "

\n"; } + elseif (preg_match("#(https?\://|)(www\.|)vimeo\.com/([0-9]*)#", $link, $matches)) { + $code = $matches[3]; + echo "
"; + + } } \ No newline at end of file