summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Ingelbrecht2018-10-16 08:11:56 (GMT)
committerRobin Ingelbrecht2018-10-16 08:11:56 (GMT)
commit145a00ec25f4332f4949849764cec974f9e96ca9 (patch)
treee26d0517240458e8cb43fe9acc3df142fde0731f
parenta3e2b155af3969362241759c6882d4e847af98a0 (diff)
Issue #3003872 by robin.ingelbrecht: Add video provider name to the fields children array
-rw-r--r--src/Plugin/video_embed_field/Provider/Html5.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Plugin/video_embed_field/Provider/Html5.php b/src/Plugin/video_embed_field/Provider/Html5.php
index f70b260..06cf1b6 100644
--- a/src/Plugin/video_embed_field/Provider/Html5.php
+++ b/src/Plugin/video_embed_field/Provider/Html5.php
@@ -87,6 +87,7 @@ class Html5 extends ProviderPluginBase {
'#src' => $this->videoUrl,
'#type' => 'video/' . $this->videoType,
'#autoplay' => $autoplay,
+ '#provider' => 'local_html5',
];
}