Преглед на файлове

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,7 +27,7 @@ class DailymotioncomFactory extends BaseFactory
27 27
       $width = $this->container->getParameter('dailymotion_player_width');
28 28
       $height = $this->container->getParameter('dailymotion_player_height');
29 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 33
     return null;