From 5efe752ae9361e1c95a85cf456c7c3a5f47bea96 Mon Sep 17 00:00:00 2001 From: Lukas Drahnik Date: Wed, 4 Nov 2015 18:07:31 +0100 Subject: [PATCH] VimeoPlayerControl: fix player_id in template --- src/MetisFW/Vimeo/UI/VimeoPlayerControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php b/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php index faaccf6..aff522f 100644 --- a/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php +++ b/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php @@ -131,7 +131,7 @@ public function render($width = 630, $height = 354, array $parameters = array()) unset($urlParameters['player_id']); $template->videoUrl = $this->getUrl($urlParameters); - $template->playerId = $this->getParameter('player_id'); + $template->playerId = $this->getPlayerParameter('player_id'); $template->playerWidth = $width; $template->playerHeight = $height; $templateFilePath = ($this->templateFilePath ? $this->templateFilePath : $this->getDefaultTemplateFilePath());