Bastien Sevajol 11 jaren geleden
bovenliggende
commit
16f553e645
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      src/Muzich/CoreBundle/Factory/UrlMatchs.php

+ 3 - 1
src/Muzich/CoreBundle/Factory/UrlMatchs.php Bestand weergeven

@@ -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
 }