Browse Source

bug fix: embed dailymotion mal formé.

bastien 13 years ago
parent
commit
d88cb990cb

+ 1 - 1
src/Muzich/CoreBundle/ElementFactory/Site/DailymotioncomFactory.php View File

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;