Bastien Sevajol 11 anos atrás
pai
commit
16f553e645
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      src/Muzich/CoreBundle/Factory/UrlMatchs.php

+ 3 - 1
src/Muzich/CoreBundle/Factory/UrlMatchs.php Ver arquivo

@@ -102,7 +102,9 @@ class UrlMatchs
102 102
       // https://www.youtube.com/watch?v=2-5xt9MrI9w
103 103
       "#\/(watch|)(\?|)v=([a-zA-Z0-9_-]+)#" => 3,
104 104
       // http://m.youtube.com/watch?feature=youtu.be&v=QQ3L3mqP5JY&desktop_uri=%2Fwatch%3Fv%3DQQ3L3mqP5JY%26feature%3Dyoutu.be
105
-      "#\/(watch|)(\?|)feature\=youtu.be\&v=([a-zA-Z0-9_-]+)([.\w\W\d]*)#" => 3
105
+      "#\/(watch|)(\?|)feature\=youtu.be\&v=([a-zA-Z0-9_-]+)([.\w\W\d]*)#" => 3,
106
+      // https://www.youtube.com/watch?feature=player_embedded&v=PBoc0kuiEn0
107
+      "#\/(watch|)(\?|)feature\=player_embedded\&v=([a-zA-Z0-9_-]+)([.\w\W\d]*)#" => 3,
106 108
     )
107 109
   );
108 110
 }