ソースを参照

Anomalie #748: Vidéos intégré vimeo plante

Sevajol Bastien 12 年 前
コミット
dba461ac43
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      src/Muzich/CoreBundle/Factory/Elements/Vimeocom.php

+ 1 - 1
src/Muzich/CoreBundle/Factory/Elements/Vimeocom.php ファイルの表示

40
       $width = $this->container->getParameter('vimeo_player_width');
40
       $width = $this->container->getParameter('vimeo_player_width');
41
       $height = $this->container->getParameter('vimeo_player_height');
41
       $height = $this->container->getParameter('vimeo_player_height');
42
       $this->element->setEmbed(
42
       $this->element->setEmbed(
43
-        '<iframe src="http://player.vimeo.com/video/'.$ref_id.'&autoplay=1&api=1" '
43
+        '<iframe src="http://player.vimeo.com/video/'.$ref_id.'?autoplay=1&api=1" '
44
         .'width="'.$width.'" height="'.$height.'" frameborder="0" '
44
         .'width="'.$width.'" height="'.$height.'" frameborder="0" '
45
         .'webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
45
         .'webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
46
       );
46
       );