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