Skip to content

Commit

Permalink
VimeoPlayerControl: fix player_id in template
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik committed Nov 4, 2015
1 parent eef0843 commit 5efe752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetisFW/Vimeo/UI/VimeoPlayerControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 5efe752

Please sign in to comment.