diff --git a/src/Plugin/video_embed_field/Provider/Html5.php b/src/Plugin/video_embed_field/Provider/Html5.php index 60f133d1900160bd80c6fd297c133c97890d2b8e..a645be65f84276742471753e00559ec11fa2132e 100644 --- a/src/Plugin/video_embed_field/Provider/Html5.php +++ b/src/Plugin/video_embed_field/Provider/Html5.php @@ -188,7 +188,7 @@ class Html5 extends ProviderPluginBase { * {@inheritdoc} */ public static function getIdFromInput($input) { - $pattern = "/(?:(\/)|(?:(?|http|https|ftp)(?|\/\/))).*(mp4|ogg|webm)/"; + $pattern = "/(?:(\/)|(?:(?|http|https|ftp)(?|\/\/))).*(mp4|ogg|webm)/i"; $matches = array(); preg_match($pattern, $input, $matches);