瀏覽代碼

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

Sevajol Bastien 11 年之前
父節點
當前提交
dba461ac43
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Muzich/CoreBundle/Factory/Elements/Vimeocom.php

+ 1 - 1
src/Muzich/CoreBundle/Factory/Elements/Vimeocom.php 查看文件

@@ -40,7 +40,7 @@ class Vimeocom extends ElementFactory
40 40
       $width = $this->container->getParameter('vimeo_player_width');
41 41
       $height = $this->container->getParameter('vimeo_player_height');
42 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 44
         .'width="'.$width.'" height="'.$height.'" frameborder="0" '
45 45
         .'webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
46 46
       );