Просмотр исходного кода

bug fix: embed dailymotion mal formé.

bastien 14 лет назад
Родитель
Сommit
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;