diff --git a/src/Plugin/video_embed_field/Provider/Html5.php b/src/Plugin/video_embed_field/Provider/Html5.php
index d2b6251b2fde78b0ccd942abeed57607ca566905..282cce57b7e1de97d120b097b67e35ec747999a2 100644
--- a/src/Plugin/video_embed_field/Provider/Html5.php
+++ b/src/Plugin/video_embed_field/Provider/Html5.php
@@ -50,7 +50,12 @@ class Html5 extends ProviderPluginBase {
 
     $this->phpFFMpeg = FALSE;
     if ($module_handler->moduleExists('php_ffmpeg')) {
-      $this->phpFFMpeg = \Drupal::service('php_ffmpeg');
+      try {
+        $this->phpFFMpeg = \Drupal::service('php_ffmpeg');
+      } catch (\Exception $e ) {
+        // do nothing, will remain as false
+      }
+
     }
     $this->fileSystem = $file_system;
     $this->config = $config_factory->get('video_embed_html5.config');