浏览代码

bug fix: embed dailymotion mal formé.

bastien 13 年前
父节点
当前提交
d88cb990cb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Muzich/CoreBundle/ElementFactory/Site/DailymotioncomFactory.php

+ 1 - 1
src/Muzich/CoreBundle/ElementFactory/Site/DailymotioncomFactory.php 查看文件

27
       $width = $this->container->getParameter('dailymotion_player_width');
27
       $width = $this->container->getParameter('dailymotion_player_width');
28
       $height = $this->container->getParameter('dailymotion_player_height');
28
       $height = $this->container->getParameter('dailymotion_player_height');
29
       return '<iframe frameborder="0" width="'.$width.'" height="'.$height.'" '
29
       return '<iframe frameborder="0" width="'.$width.'" height="'.$height.'" '
30
-        .'src="http://www.dailymotion.com/embed/video/xnqcwx"></iframe>';
30
+        .'src="'.$embed_url.'"></iframe>';
31
     }
31
     }
32
     
32
     
33
     return null;
33
     return null;