diff --git a/src/Plugin/video_embed_field/Provider/Wistia.php b/src/Plugin/video_embed_field/Provider/Wistia.php index c82677b..dd8440c 100644 --- a/src/Plugin/video_embed_field/Provider/Wistia.php +++ b/src/Plugin/video_embed_field/Provider/Wistia.php @@ -26,7 +26,7 @@ class Wistia extends ProviderPluginBase { '#provider' => 'wistia', '#url' => sprintf('https://fast.wistia.com/embed/iframe/%s', $this->getVideoId()), '#query' => [ - 'autoplay' => $autoplay + 'autoPlay' => $autoplay ], '#attributes' => [ 'width' => $width, @@ -52,4 +52,4 @@ class Wistia extends ProviderPluginBase { preg_match('/^https?:\/\/(.+)?(wistia.com|wi.st)\/(medias|embed)\/(?[0-9A-Za-z]+)$/', $input, $matches); return isset($matches['id']) ? $matches['id'] : FALSE; } -} \ No newline at end of file +}