Browse Source

Anomalie #451: vidéo Youtube.com buggé

Sevajol Bastien 12 years ago
parent
commit
1c255e0fc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/CoreBundle/Factory/Elements/Youtube.php

+ 1 - 1
src/Muzich/CoreBundle/Factory/Elements/Youtube.php View File

@@ -18,7 +18,7 @@ class Youtube extends Youtubecom
18 18
     $url_clean = $this->getCleanedUrl();
19 19
     $ref_id = null;
20 20
     
21
-    if (preg_match("#\/([a-zA-Z0-9]+)#", $url_clean, $chaines))
21
+    if (preg_match("#\/([a-zA-Z0-9_]+)#", $url_clean, $chaines))
22 22
     {
23 23
       $ref_id = $chaines[1];
24 24
     }